public interface JetlangSession
Modifier and Type | Method and Description |
---|---|
void |
disconnect()
Attempts to disconnect the client.
|
org.jetlang.channels.Subscriber<HeartbeatEvent> |
getHeartbeatChannel() |
org.jetlang.channels.Subscriber<LogoutEvent> |
getLogoutChannel() |
org.jetlang.channels.Subscriber<ReadTimeoutEvent> |
getReadTimeoutChannel() |
org.jetlang.channels.Subscriber<SessionCloseEvent> |
getSessionCloseChannel() |
Object |
getSessionId() |
org.jetlang.channels.Subscriber<SessionMessage<?>> |
getSessionMessageChannel() |
org.jetlang.channels.Subscriber<SessionRequest> |
getSessionRequestChannel() |
org.jetlang.channels.Subscriber<SessionTopic> |
getSubscriptionRequestChannel() |
org.jetlang.channels.Subscriber<String> |
getUnsubscribeChannel() |
void |
publish(byte[] data)
publish raw bytes.
|
<T> void |
publish(String topic,
T msg) |
Object getSessionId()
org.jetlang.channels.Subscriber<SessionTopic> getSubscriptionRequestChannel()
org.jetlang.channels.Subscriber<String> getUnsubscribeChannel()
org.jetlang.channels.Subscriber<LogoutEvent> getLogoutChannel()
org.jetlang.channels.Subscriber<HeartbeatEvent> getHeartbeatChannel()
org.jetlang.channels.Subscriber<SessionMessage<?>> getSessionMessageChannel()
org.jetlang.channels.Subscriber<SessionRequest> getSessionRequestChannel()
org.jetlang.channels.Subscriber<ReadTimeoutEvent> getReadTimeoutChannel()
org.jetlang.channels.Subscriber<SessionCloseEvent> getSessionCloseChannel()
void disconnect()
void publish(byte[] data)
<T> void publish(String topic, T msg)
Copyright © 2016. All Rights Reserved.