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 int
count
The max number.protected java.lang.String
data
The data.protected int
number
The 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 int
getCount()
Get the count.java.lang.String
getData()
Get the data.int
getNumber()
Get the number.void
setCount(int count)
Set the count.void
setData(java.lang.String data)
Set the data.void
setNumber(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
-
-