public class FileMessage extends ClusterMessageBase
address
Constructor and Description |
---|
FileMessage(Member source,
java.lang.String fileName,
java.lang.String contextName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContextName() |
byte[] |
getData() |
int |
getDataLength() |
java.lang.String |
getFileName() |
int |
getMessageNumber() |
long |
getTotalLength() |
long |
getTotalNrOfMsgs() |
java.lang.String |
getUniqueId() |
void |
setData(byte[] data,
int length) |
void |
setDataLength(int dataLength) |
void |
setFileName(java.lang.String fileName) |
void |
setMessageNumber(int messageNumber) |
void |
setTotalLength(long totalLength) |
void |
setTotalNrOfMsgs(long totalNrOfMsgs) |
getAddress, getTimestamp, setAddress, setTimestamp, setUniqueId
public FileMessage(Member source, java.lang.String fileName, java.lang.String contextName)
public int getMessageNumber()
public void setMessageNumber(int messageNumber)
public long getTotalNrOfMsgs()
public void setTotalNrOfMsgs(long totalNrOfMsgs)
public byte[] getData()
public void setData(byte[] data, int length)
public int getDataLength()
public void setDataLength(int dataLength)
public long getTotalLength()
public void setTotalLength(long totalLength)
public java.lang.String getUniqueId()
getUniqueId
in interface ClusterMessage
getUniqueId
in class ClusterMessageBase
public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
public java.lang.String getContextName()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.