public class FlyweightCommand extends Object implements Flyweight<FlyweightCommand>, Command, Command.Id, Frame
Command.IdWritable.BufferAcquirer| Constructor and Description |
|---|
FlyweightCommand() |
| Modifier and Type | Method and Description |
|---|---|
Header |
header() |
Command.Id |
id() |
FlyweightCommand |
init(DirectBuffer command,
int offset) |
FlyweightCommand |
init(DirectBuffer header,
int headerOffset,
DirectBuffer payload,
int payloadOffset,
int payloadSize) |
FlyweightCommand |
init(MutableDirectBuffer header,
int headerOffset,
int input,
long sequence,
int type,
long time,
DirectBuffer payload,
int payloadOffset,
int payloadSize) |
int |
input() |
DirectBuffer |
payload() |
FlyweightCommand |
reset() |
long |
sequence() |
long |
time() |
String |
toString() |
int |
type() |
boolean |
valid() |
int |
write(Writable.BufferAcquirer bufferAcquirer) |
int |
writeTo(MutableDirectBuffer buffer,
int offset) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisAdmin, isApplicationpublic FlyweightCommand init(MutableDirectBuffer header, int headerOffset, int input, long sequence, int type, long time, DirectBuffer payload, int payloadOffset, int payloadSize)
public FlyweightCommand init(DirectBuffer header, int headerOffset, DirectBuffer payload, int payloadOffset, int payloadSize)
public FlyweightCommand init(DirectBuffer command, int offset)
init in interface Flyweight<FlyweightCommand>public boolean valid()
public FlyweightCommand reset()
public Command.Id id()
public int input()
input in interface Command.Idpublic long sequence()
sequence in interface Command.Idpublic DirectBuffer payload()
public int write(Writable.BufferAcquirer bufferAcquirer)
public int writeTo(MutableDirectBuffer buffer, int offset)
Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.