|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmessage.Message
message.BatchSizeMessage
public class BatchSizeMessage
InternalMessage
used for communication between two
OutputStrategy
components, located on neighbored mixes.
Transmits the batch size (the first mix used for the batch it is about to
send) to the second mix.
Field Summary | |
---|---|
private int |
batchSize
Batch size the sending mix used for the upcoming batch (= batch he will send after this message). |
static byte |
IDENTIFIER
Identifier for this type of message. |
Constructor Summary | |
---|---|
BatchSizeMessage(int batchSize)
Creates a new BatchSizeMessage containing the bypassed
batchSize . |
Method Summary | |
---|---|
int |
getBatchSize()
Returns the variable batchSize 's value (= Batch size the
sending mix used for the upcoming batch (= batch he will send after this
message)). |
Methods inherited from class message.Message |
---|
compareTo, getByteMessage, getChannel, getChannelID, getMessageID, getNextMixChannelID, getTimeOfReceival, setByteMessage, setMessageID, setPayloadRange, setTimeOfReceival |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface message.BasicMessage |
---|
getByteMessage, getChannel, getChannelID, getMessageID, getNextMixChannelID, getTimeOfReceival, setByteMessage, setMessageID, setPayloadRange, setTimeOfReceival |
Field Detail |
---|
public static final byte IDENTIFIER
instanceOf
operator.
private int batchSize
Constructor Detail |
---|
public BatchSizeMessage(int batchSize)
BatchSizeMessage
containing the bypassed
batchSize
.
batchSize
- Batch size the sending mix used for the upcoming batch
(= batch he will send after this message)Method Detail |
---|
public int getBatchSize()
batchSize
's value (= Batch size the
sending mix used for the upcoming batch (= batch he will send after this
message)).
batchSize
's value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |