public abstract class AbstractAsyncSubscription extends Object implements AsyncSubscription
| Constructor and Description |
|---|
AbstractAsyncSubscription(TcpChannelHub hub,
String csp,
byte identifier,
String name) |
AbstractAsyncSubscription(TcpChannelHub hub,
String csp,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
applySubscribe()
Implement this to establish a subscription with the server
|
void |
onClose()
called whenever the connection to the server has been dropped
|
abstract void |
onSubscribe(net.openhft.chronicle.wire.WireOut wireOut)
called when ever the TcpChannelHub is ready to make a subscription
|
long |
tid()
returns the unique tid that will be used in the subscription, this tid must be unique per
socket connection
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonConsumerpublic AbstractAsyncSubscription(@NotNull
TcpChannelHub hub,
String csp,
String name)
public AbstractAsyncSubscription(@NotNull
TcpChannelHub hub,
String csp,
byte identifier,
String name)
public long tid()
AsyncSubscriptiontid in interface AsyncSubscriptionpublic void applySubscribe()
AsyncSubscriptionapplySubscribe in interface AsyncSubscriptionpublic abstract void onSubscribe(net.openhft.chronicle.wire.WireOut wireOut)
wireOut - the wire to write the subscription topublic void onClose()
onClose in interface AsyncSubscriptionCopyright © 2016. All rights reserved.