org.apache.catalina.ha.deploy
Class FileMessage
java.lang.Object
org.apache.catalina.ha.ClusterMessageBase
org.apache.catalina.ha.deploy.FileMessage
- All Implemented Interfaces:
- Serializable, ClusterMessage
public class FileMessage
- extends ClusterMessageBase
Contains the data for a file being transferred over TCP, this is
essentially a fragment of a file, read and written by the FileMessageFactory
- Version:
- 1.0
- Author:
- Filip Hanik
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileMessage
public FileMessage(Member source,
String fileName,
String contextName)
getMessageNumber
public int getMessageNumber()
setMessageNumber
public void setMessageNumber(int messageNumber)
getTotalNrOfMsgs
public long getTotalNrOfMsgs()
setTotalNrOfMsgs
public void setTotalNrOfMsgs(long totalNrOfMsgs)
getData
public byte[] getData()
setData
public void setData(byte[] data,
int length)
getDataLength
public int getDataLength()
setDataLength
public void setDataLength(int dataLength)
getTotalLength
public long getTotalLength()
setTotalLength
public void setTotalLength(long totalLength)
getUniqueId
public String getUniqueId()
- Specified by:
getUniqueId
in interface ClusterMessage
- Overrides:
getUniqueId
in class ClusterMessageBase
getFileName
public String getFileName()
setFileName
public void setFileName(String fileName)
getContextName
public String getContextName()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.