class MessageLiteral extends java.lang.Object implements Literal
Modifier and Type | Field and Description |
---|---|
private byte[] |
buf |
private Message |
msg |
private int |
msgSize |
Constructor and Description |
---|
MessageLiteral(Message msg,
int maxsize) |
Modifier and Type | Method and Description |
---|---|
int |
size()
Return the size of the data.
|
void |
writeTo(java.io.OutputStream os)
Write the data to the OutputStream.
|
private Message msg
private int msgSize
private byte[] buf
public MessageLiteral(Message msg, int maxsize) throws MessagingException, java.io.IOException
MessagingException
java.io.IOException
public int size()
Literal