@Deprecated public abstract class AbstractAsyncTemporarySubscription extends AbstractAsyncSubscription
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAsyncTemporarySubscription(@NotNull TcpChannelHub hub,
@Nullable String csp,
byte id,
String name)
Deprecated.
|
protected |
AbstractAsyncTemporarySubscription(@NotNull TcpChannelHub hub,
@Nullable 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 when the socket connection is closed
|
void |
onConsumer(@NotNull net.openhft.chronicle.wire.WireIn inWire)
Deprecated.
Implement this to consume the subscription
|
long |
tid()
Deprecated.
returns the unique tid that will be used in the subscription, this tid must be unique per
socket connection
|
applySubscribe, onClose, onSubscribe, tid, toStringprotected AbstractAsyncTemporarySubscription(@NotNull
@NotNull TcpChannelHub hub,
@Nullable
@Nullable String csp,
String name)
hub - handles the tcp connectivity.csp - the url of the subscription.name - the name of the subscriptionprotected AbstractAsyncTemporarySubscription(@NotNull
@NotNull TcpChannelHub hub,
@Nullable
@Nullable String csp,
byte id,
String name)
hub - handles the tcp connectivity.csp - the url of the subscription.id - use as a seed to the tid, makes unique tid's makes reading the logs easier.name - the name of the subscriptionpublic long tid()
public void applySubscribe()
public void onConsumer(@NotNull
@NotNull net.openhft.chronicle.wire.WireIn inWire)
inWire - the wire to write the subscription topublic void onClose()
Copyright © 2023. All rights reserved.