public class JeeServletMessageReceiver extends Object implements ServletMessageReceiver
| Constructor and Description |
|---|
JeeServletMessageReceiver(String channelId,
String contextRoot,
String hostPath,
HttpBridgeRegistryClient httpBridgeRegistryClient,
String httpBridgeEnabled) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteChannel() |
String |
getChannelId() |
boolean |
isReady() |
boolean |
isStarted() |
void |
onError(joynr.ImmutableMessage message,
Throwable error) |
void |
receive(joynr.ImmutableMessage message) |
void |
resume() |
void |
shutdown(boolean clear) |
Future<Void> |
start(io.joynr.messaging.MessageArrivedListener messageArrivedListener,
io.joynr.messaging.ReceiverStatusListener... receiverStatusListeners) |
void |
suspend() |
boolean |
switchToLongPolling() |
@Inject public JeeServletMessageReceiver(String channelId, String contextRoot, String hostPath, HttpBridgeRegistryClient httpBridgeRegistryClient, String httpBridgeEnabled)
public String getChannelId()
getChannelId in interface io.joynr.messaging.MessageReceiverpublic void shutdown(boolean clear)
shutdown in interface io.joynr.messaging.MessageReceiverpublic boolean isReady()
isReady in interface io.joynr.messaging.MessageReceiverpublic boolean deleteChannel()
deleteChannel in interface io.joynr.messaging.MessageReceiverpublic boolean isStarted()
isStarted in interface io.joynr.messaging.MessageReceiverpublic void suspend()
suspend in interface io.joynr.messaging.MessageReceiverpublic void resume()
resume in interface io.joynr.messaging.MessageReceiverpublic Future<Void> start(io.joynr.messaging.MessageArrivedListener messageArrivedListener, io.joynr.messaging.ReceiverStatusListener... receiverStatusListeners)
start in interface io.joynr.messaging.MessageReceiverpublic boolean switchToLongPolling()
switchToLongPolling in interface ServletMessageReceiverpublic void receive(joynr.ImmutableMessage message)
receive in interface ServletMessageReceiverpublic void onError(joynr.ImmutableMessage message,
Throwable error)
onError in interface ServletMessageReceiverCopyright © 2019. All rights reserved.