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