Class PartialMessage
- java.lang.Object
-
- org.activecomponents.webservice.messages.BaseMessage
-
- org.activecomponents.webservice.messages.PartialMessage
-
public class PartialMessage extends BaseMessage
Helper message to transport larger messages in slices.
-
-
Field Summary
Fields Modifier and Type Field Description protected intcountThe max number.protected java.lang.StringdataThe data.protected intnumberThe part number.-
Fields inherited from class org.activecomponents.webservice.messages.BaseMessage
callid
-
-
Constructor Summary
Constructors Constructor Description PartialMessage()Create a new PartialMessage.PartialMessage(java.lang.String data, int number, int count)Create a new PartialMessage.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()Get the count.java.lang.StringgetData()Get the data.intgetNumber()Get the number.voidsetCount(int count)Set the count.voidsetData(java.lang.String data)Set the data.voidsetNumber(int number)Set the number.-
Methods inherited from class org.activecomponents.webservice.messages.BaseMessage
getCallid, setCallid
-
-
-
-
Method Detail
-
getData
public java.lang.String getData()
Get the data.- Returns:
- the data
-
setData
public void setData(java.lang.String data)
Set the data.- Parameters:
data- The data to set
-
getNumber
public int getNumber()
Get the number.- Returns:
- the number
-
setNumber
public void setNumber(int number)
Set the number.- Parameters:
number- The number to set
-
getCount
public int getCount()
Get the count.- Returns:
- the count
-
setCount
public void setCount(int count)
Set the count.- Parameters:
count- The count to set
-
-