Package com.openfin.desktop.channel
Class ClassicProtocolHandler
- java.lang.Object
-
- com.openfin.desktop.channel.AbstractProtocolHandler
-
- com.openfin.desktop.channel.ClassicProtocolHandler
-
public class ClassicProtocolHandler extends AbstractProtocolHandler
-
-
Field Summary
-
Fields inherited from class com.openfin.desktop.channel.AbstractProtocolHandler
channel, clientEndpointIdentity, endpointIdentity, isProvider, logger
-
-
Constructor Summary
Constructors Constructor Description ClassicProtocolHandler(Channel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProtocolOptionsgetProtocolOptions()protected org.json.JSONObjectgetSupportedAnswerProtocol()protected org.json.JSONObjectgetSupportedOfferProtocol()voidsendChannelMessage(java.lang.String action, org.json.JSONObject destionationIdentity, org.json.JSONObject providerIdentity, org.json.JSONObject actionPayload, AckListener ackListener)java.util.concurrent.CompletableFuture<Ack>sendChannelMessageAsync(java.lang.String action, org.json.JSONObject destionationIdentity, org.json.JSONObject providerIdentity, java.lang.Object actionPayload)-
Methods inherited from class com.openfin.desktop.channel.AbstractProtocolHandler
acceptAnswer, acceptOffer, cleanup, createProtocolHandler, getChannel, getChannelConnectPayload, getChannelCreatePayload, getOfferProtocolByType, initializeClient, initializeProvider, processConnectAnswer, processConnectOffer, setClientEndpointIdentity
-
-
-
-
Constructor Detail
-
ClassicProtocolHandler
public ClassicProtocolHandler(Channel channel)
-
-
Method Detail
-
getProtocolOptions
public ProtocolOptions getProtocolOptions()
- Overrides:
getProtocolOptionsin classAbstractProtocolHandler
-
getSupportedOfferProtocol
protected org.json.JSONObject getSupportedOfferProtocol()
- Overrides:
getSupportedOfferProtocolin classAbstractProtocolHandler
-
getSupportedAnswerProtocol
protected org.json.JSONObject getSupportedAnswerProtocol()
- Overrides:
getSupportedAnswerProtocolin classAbstractProtocolHandler
-
sendChannelMessage
public void sendChannelMessage(java.lang.String action, org.json.JSONObject destionationIdentity, org.json.JSONObject providerIdentity, org.json.JSONObject actionPayload, AckListener ackListener)- Overrides:
sendChannelMessagein classAbstractProtocolHandler
-
sendChannelMessageAsync
public java.util.concurrent.CompletableFuture<Ack> sendChannelMessageAsync(java.lang.String action, org.json.JSONObject destionationIdentity, org.json.JSONObject providerIdentity, java.lang.Object actionPayload)
- Overrides:
sendChannelMessageAsyncin classAbstractProtocolHandler
-
-