@Deprecated public abstract class AbstractAsyncSubscription extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAsyncSubscription(@NotNull TcpChannelHub hub,
String csp,
byte identifier,
String name)
Deprecated.
|
protected |
AbstractAsyncSubscription(@NotNull TcpChannelHub hub,
String csp,
String name)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applySubscribe()
Deprecated.
Implement this to establish a subscription with the server
|
void |
onClose()
Deprecated.
called whenever the connection to the server has been dropped
|
void |
onConsumer(@NotNull net.openhft.chronicle.wire.WireIn inWire)
Deprecated.
Implement this to consume the subscription
|
abstract void |
onSubscribe(net.openhft.chronicle.wire.WireOut wireOut)
Deprecated.
called when ever the TcpChannelHub is ready to make a subscription
|
long |
tid()
Deprecated.
returns the unique tid that will be used in the subscription, this tid must be unique per
socket connection
|
@NotNull String |
toString()
Deprecated.
|
protected AbstractAsyncSubscription(@NotNull
@NotNull TcpChannelHub hub,
String csp,
String name)
protected AbstractAsyncSubscription(@NotNull
@NotNull TcpChannelHub hub,
String csp,
byte identifier,
String name)
public long tid()
public void applySubscribe()
public abstract void onSubscribe(net.openhft.chronicle.wire.WireOut wireOut)
wireOut - the wire to write the subscription topublic void onClose()
public void onConsumer(@NotNull
@NotNull net.openhft.chronicle.wire.WireIn inWire)
inWire - the wire to write the subscription toCopyright © 2023. All rights reserved.