com.pcbsys.nirvana.client.ProtobufDescriptor Class Reference

This class is used to wrap the store descriptor's name and it's byte[]. More...

Public Member Functions

String getDescriptorName ()
 Gets String that contains the name of the descriptor. More...
 
byte[] getDescriptorSet ()
 Gets a byte[] so we can receive the descriptor data. More...
 

Detailed Description

This class is used to wrap the store descriptor's name and it's byte[].

Added in order to use newly created APIs nChannelAttributes#setProtobufDescriptors(java.util.List) and nAbstractChannel#updateProtobufDefinitions(java.util.List)

Member Function Documentation

String com.pcbsys.nirvana.client.ProtobufDescriptor.getDescriptorName ( )

Gets String that contains the name of the descriptor.

Returns
String with the name of the descriptor
byte [] com.pcbsys.nirvana.client.ProtobufDescriptor.getDescriptorSet ( )

Gets a byte[] so we can receive the descriptor data.

Returns
byte[] where the descriptor data is held.