public interface JetlangClient
| Modifier and Type | Method and Description | 
|---|---|
| LogoutResult | close(boolean sendLogoutIfStillConnected) | 
| void | execOnSendThread(org.jetlang.core.Callback<SocketWriter> cb) | 
| org.jetlang.channels.Subscriber<CloseEvent> | getCloseChannel() | 
| org.jetlang.channels.Subscriber<ConnectEvent> | getConnectChannel() | 
| org.jetlang.channels.Subscriber<DeadMessageEvent> | getDeadMessageChannel() | 
| org.jetlang.channels.Subscriber<ReadTimeoutEvent> | getReadTimeoutChannel() | 
| <T> void | publish(String topic,
       T msg) | 
| <T> org.jetlang.core.Disposable | request(String reqTopic,
       Object req,
       org.jetlang.core.DisposingExecutor executor,
       org.jetlang.core.Callback<T> callback,
       org.jetlang.core.Callback<TimeoutControls> timeoutRunnable,
       int timeout,
       TimeUnit timeUnit) | 
| void | start() | 
| <T> org.jetlang.core.Disposable | subscribe(String topic,
         org.jetlang.core.DisposingExecutor clientFiber,
         org.jetlang.core.Callback<T> cb) | 
| <T> org.jetlang.core.Disposable | subscribe(String subject,
         org.jetlang.channels.Subscribable<T> callback) | 
org.jetlang.channels.Subscriber<ConnectEvent> getConnectChannel()
org.jetlang.channels.Subscriber<CloseEvent> getCloseChannel()
org.jetlang.channels.Subscriber<ReadTimeoutEvent> getReadTimeoutChannel()
org.jetlang.channels.Subscriber<DeadMessageEvent> getDeadMessageChannel()
<T> void publish(String topic, T msg)
<T> org.jetlang.core.Disposable subscribe(String subject, org.jetlang.channels.Subscribable<T> callback)
<T> org.jetlang.core.Disposable subscribe(String topic, org.jetlang.core.DisposingExecutor clientFiber, org.jetlang.core.Callback<T> cb)
void start()
LogoutResult close(boolean sendLogoutIfStillConnected)
<T> org.jetlang.core.Disposable request(String reqTopic, Object req, org.jetlang.core.DisposingExecutor executor, org.jetlang.core.Callback<T> callback, org.jetlang.core.Callback<TimeoutControls> timeoutRunnable, int timeout, TimeUnit timeUnit)
void execOnSendThread(org.jetlang.core.Callback<SocketWriter> cb)
Copyright © 2016. All Rights Reserved.