public static interface ServerSession.ServiceFactory
| Modifier and Type | Method and Description |
|---|---|
org.granite.client.messaging.Consumer |
newConsumer(org.granite.client.messaging.channel.MessagingChannel messagingChannel,
String destination,
String topic)
Create a consumer
|
org.granite.client.messaging.Producer |
newProducer(org.granite.client.messaging.channel.MessagingChannel messagingChannel,
String destination,
String topic)
Create a producer
|
org.granite.client.messaging.RemoteService |
newRemoteService(org.granite.client.messaging.channel.RemotingChannel remotingChannel,
String destination)
Create a remote service for the specified channel and destination
|
org.granite.client.messaging.RemoteService newRemoteService(org.granite.client.messaging.channel.RemotingChannel remotingChannel, String destination)
remotingChannel - channeldestination - destination nameorg.granite.client.messaging.Producer newProducer(org.granite.client.messaging.channel.MessagingChannel messagingChannel, String destination, String topic)
messagingChannel - channeldestination - destination nametopic - subtopicorg.granite.client.messaging.Consumer newConsumer(org.granite.client.messaging.channel.MessagingChannel messagingChannel, String destination, String topic)
messagingChannel - channeldestination - destination nametopic - subtopic