protected class TP.BaseBundler extends java.lang.Object implements TP.Bundler
Modifier and Type | Field and Description |
---|---|
protected ByteArrayDataOutputStream |
output |
Modifier | Constructor and Description |
---|---|
protected |
BaseBundler() |
Modifier and Type | Method and Description |
---|---|
protected void |
addMessage(Message msg,
long size) |
protected int |
numMessages() |
void |
send(Message msg) |
protected void |
sendBundledMessages()
Sends all messages in the map.
|
protected void |
sendMessageList(Address dest,
Address src,
byte[] cluster_name,
java.util.List<Message> list) |
protected void |
sendSingleMessage(Message msg) |
void |
start() |
void |
stop() |
protected final ByteArrayDataOutputStream output
public void start()
start
in interface TP.Bundler
public void stop()
stop
in interface TP.Bundler
public void send(Message msg) throws java.lang.Exception
send
in interface TP.Bundler
java.lang.Exception
protected void sendBundledMessages()
protected int numMessages()
protected void sendSingleMessage(Message msg)
protected void sendMessageList(Address dest, Address src, byte[] cluster_name, java.util.List<Message> list)
protected void addMessage(Message msg, long size)
Copyright © 1998-2020 Red Hat. All Rights Reserved.