| java.lang.Object org.apache.catalina.cluster.ReplicationWrapper
ReplicationWrapper | final public class ReplicationWrapper implements Serializable(Code) | | A ReplicationWrapper, used when sending and receiving multicast
data, wrapped is the data and the senderId which is used for
identification.
author: Bip Thelin version: $Revision: 1.1 $, $Date: 2001/05/04 20:48:02 $ |
ReplicationWrapper | public ReplicationWrapper(byte[] b, String senderId)(Code) | | Construct a new ReplicationWrapper
|
getDataStream | final public byte[] getDataStream()(Code) | | return our internal data as a array of bytes
a our data |
getSenderId | final public String getSenderId()(Code) | | get the sender id for this wrapper
The sender Id associated with this wrapper |
setSenderId | final public void setSenderId(String senderId)(Code) | | Set the sender id for this wrapper
Parameters: senderId - The sender id |
writeTo | final public void writeTo(OutputStream out) throws IOException(Code) | | Write our stream to the OutputStream provided.
Parameters: out - the OutputStream to write this stream to exception: IOException - if an input/output error occurs |
|
|