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() |
java.lang.Object |
getSessionId() |
org.jetlang.channels.Subscriber<SessionMessage<?>> |
getSessionMessageChannel() |
org.jetlang.channels.Subscriber<SessionRequest> |
getSessionRequestChannel() |
org.jetlang.channels.Subscriber<SessionTopic> |
getSubscriptionRequestChannel() |
org.jetlang.channels.Subscriber<java.lang.String> |
getUnsubscribeChannel() |
void |
publish(byte[] data)
publish raw bytes.
|
<T> void |
publish(java.lang.String topic,
T msg) |
java.lang.Object getSessionId()
org.jetlang.channels.Subscriber<SessionTopic> getSubscriptionRequestChannel()
org.jetlang.channels.Subscriber<java.lang.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(java.lang.String topic, T msg)
Copyright © 2019. All Rights Reserved.