UniPRT SDK  v1.0.0.0
UniPRT.Sdk.Mgmt.ListenerChannelsJson Class Reference
Inheritance diagram for UniPRT.Sdk.Mgmt.ListenerChannelsJson:
UniPRT.Sdk.Mgmt.AMgmtListenerChannels< string >

Public Member Functions

virtual void ListenerChannelConnect (Channel< T > chnlToReconnect, MgmtChannelFilterType chnlType, string solicitedMsgId="")
 Connect or reconnect a channel for listening to msgs. solicitedMsgId only applies for channels of MgmtChannelFilterType::MY_SOLICITED_MSGS_ONLY or MgmtChannelFilterType::MY_SOLICITED_AND_UNSOLICITED_MSGS type.
 
virtual void ListenerChannelDisconnect (Channel< T > chnlToRemove)
 Disconnect channel. No more msgs added to a channel that is disconnected, but channel can be reconnected in the future.
 
virtual void ListenerChannelDisconnectPermanently (Channel< T > chnlToRemove)
 Disconnect a channel permanently so that it cannot be reconnected.
 
virtual Channel< T > ListenerChannelGetNew (int capacity, MgmtChannelFilterType chnlType, string solicitedMsgId="")
 Creates new channel for caller to listen for fully formed JSON msgs. More...
 

Member Function Documentation

◆ ListenerChannelGetNew()

virtual Channel<T> UniPRT.Sdk.Mgmt.AMgmtListenerChannels< T >.ListenerChannelGetNew ( int  capacity,
MgmtChannelFilterType  chnlType,
string  solicitedMsgId = "" 
)
virtualinherited

Creates new channel for caller to listen for fully formed JSON msgs.

Channel that holds maximum msgs defined by capacity created where oldest items discarded if unread when newer entries added.
solicitedMsgId only applies for channels of SOLICITED_MSGS_ONLY type.