public class FlyweightCommand extends Object implements Flyweight<FlyweightCommand>, Command, Command.Id
Command.Id| Constructor and Description |
|---|
FlyweightCommand() |
| Modifier and Type | Method and Description |
|---|---|
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 payloadLSize) |
int |
input() |
DirectBuffer |
payload() |
FlyweightCommand |
reset() |
long |
sequence() |
long |
time() |
String |
toString() |
int |
type() |
static int |
writeHeaderTo(MutableDirectBuffer header,
int headerOffset,
int input,
long sequence,
int type,
long time,
int payloadLSize) |
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 payloadLSize)
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 FlyweightCommand reset()
public Command.Id id()
public int input()
input in interface Command.Idpublic long sequence()
sequence in interface Command.Idpublic DirectBuffer payload()
public static int writeHeaderTo(MutableDirectBuffer header, int headerOffset, int input, long sequence, int type, long time, int payloadLSize)
public int writeTo(MutableDirectBuffer buffer, int offset)
Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.