public class SubscriptionMessageFlyweight extends CorrelatedMessageFlyweight
buffer, CLIENT_ID_FIELD_OFFSET, CORRELATION_ID_FIELD_OFFSET, LENGTH, offset| Constructor and Description |
|---|
SubscriptionMessageFlyweight() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
channel()
Get the channel field in ASCII
|
SubscriptionMessageFlyweight |
channel(java.lang.String channel)
Set channel field in ASCII
|
int |
length() |
long |
registrationCorrelationId()
return correlation id used in registration field
|
SubscriptionMessageFlyweight |
registrationCorrelationId(long correlationId)
set registration correlation id field
|
int |
streamId()
return the stream id
|
SubscriptionMessageFlyweight |
streamId(int streamId)
Set the stream id
|
clientId, clientId, correlationId, correlationId, wrappublic long registrationCorrelationId()
public SubscriptionMessageFlyweight registrationCorrelationId(long correlationId)
correlationId - field valuepublic int streamId()
public SubscriptionMessageFlyweight streamId(int streamId)
streamId - the channel idpublic java.lang.String channel()
public SubscriptionMessageFlyweight channel(java.lang.String channel)
channel - field valuepublic int length()
Copyright © 2014-2017 Real Logic Ltd. All Rights Reserved.