public final class ActorMsg
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ActorMsg.Token |
static class |
ActorMsg.Type |
Modifier and Type | Field and Description |
---|---|
int |
cursor |
static boolean |
DEBUG |
ActorMsg.Token |
lastToken |
static int |
SIZE |
static boolean |
VERBOSE |
Modifier and Type | Method and Description |
---|---|
byte[] |
bytesRemaining() |
java.lang.String |
dump() |
java.lang.String |
getBody() |
ActorMsg.Token |
getNextToken() |
byte[] |
getRaw() |
java.lang.String |
getSender() |
ActorMsg.Type |
getType() |
static ActorMsg |
readActorMsg() |
static int |
readInt() |
static void |
send(java.lang.String target,
java.lang.String sender,
Code body) |
static void |
send(java.lang.String target,
java.lang.String sender,
java.lang.String body) |
static void |
send(java.lang.String target,
java.lang.String sender,
java.lang.String prefix,
byte[] contents) |
static void |
sendActorMsg(java.io.OutputStream dest,
java.lang.String body) |
static void |
sendActorMsg(java.io.OutputStream dest,
java.lang.String prefix,
byte[] contents) |
java.lang.String |
toString() |
java.lang.String |
toString(boolean trunc) |
public static boolean DEBUG
public static boolean VERBOSE
public static final int SIZE
public int cursor
public ActorMsg.Token lastToken
public java.lang.String getSender()
public java.lang.String getBody()
public byte[] getRaw()
public ActorMsg.Type getType()
public static ActorMsg readActorMsg()
public static int readInt()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean trunc)
public static void sendActorMsg(java.io.OutputStream dest, java.lang.String body)
public static void sendActorMsg(java.io.OutputStream dest, java.lang.String prefix, byte[] contents)
public static void send(java.lang.String target, java.lang.String sender, java.lang.String body)
public static void send(java.lang.String target, java.lang.String sender, Code body)
public static void send(java.lang.String target, java.lang.String sender, java.lang.String prefix, byte[] contents)
public java.lang.String dump()
public byte[] bytesRemaining()
public ActorMsg.Token getNextToken()