Package org.yamcs.http
Class ProtobufRegistry
- java.lang.Object
-
- org.yamcs.http.ProtobufRegistry
-
public class ProtobufRegistry extends Object
-
-
Constructor Summary
Constructors Constructor Description ProtobufRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.protobuf.ExtensionRegistry
getExtensionRegistry()
List<com.google.protobuf.ExtensionRegistry.ExtensionInfo>
getExtensions(com.google.protobuf.Descriptors.Descriptor messageType)
Returns extensions for a specific Message type in the order as they have been definedRpcDescriptor
getRpc(String id)
void
importDefinitions(InputStream in)
void
installExtension(Class<?> extensionClass, Field field)
-
-
-
Method Detail
-
importDefinitions
public void importDefinitions(InputStream in) throws IOException
- Throws:
IOException
-
installExtension
public void installExtension(Class<?> extensionClass, Field field) throws IllegalAccessException
- Throws:
IllegalAccessException
-
getExtensionRegistry
public com.google.protobuf.ExtensionRegistry getExtensionRegistry()
-
getRpc
public RpcDescriptor getRpc(String id)
-
getExtensions
public List<com.google.protobuf.ExtensionRegistry.ExtensionInfo> getExtensions(com.google.protobuf.Descriptors.Descriptor messageType)
Returns extensions for a specific Message type in the order as they have been defined
-
-