Package jadex.extension.rs.publish
Class AbstractRestPublishService.SSEEvent
- java.lang.Object
-
- jadex.extension.rs.publish.AbstractRestPublishService.SSEEvent
-
- Enclosing class:
- AbstractRestPublishService
public static class AbstractRestPublishService.SSEEvent extends java.lang.ObjectSSE event data class.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringcallidThe callid.protected java.lang.ObjectdataThe real data.protected java.lang.StringexecptiontypeException type name when exception has occurred.protected booleanfinishedFlag indicating if the call is finished.protected java.lang.IntegermaxThe max value.
-
Constructor Summary
Constructors Constructor Description SSEEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCallId()java.lang.ObjectgetData()java.lang.StringgetExecptionType()java.lang.IntegergetMax()booleanisFinished()AbstractRestPublishService.SSEEventsetCallId(java.lang.String callid)AbstractRestPublishService.SSEEventsetData(java.lang.Object data)AbstractRestPublishService.SSEEventsetExecptionType(java.lang.String execptiontype)AbstractRestPublishService.SSEEventsetFinished(boolean finished)AbstractRestPublishService.SSEEventsetMax(java.lang.Integer max)java.lang.StringtoString()
-
-
-
Field Detail
-
data
protected java.lang.Object data
The real data.
-
execptiontype
protected java.lang.String execptiontype
Exception type name when exception has occurred.
-
max
protected java.lang.Integer max
The max value.
-
finished
protected boolean finished
Flag indicating if the call is finished.
-
callid
protected java.lang.String callid
The callid.
-
-
Method Detail
-
getData
public java.lang.Object getData()
- Returns:
- the data
-
setData
public AbstractRestPublishService.SSEEvent setData(java.lang.Object data)
- Parameters:
data- the data to set
-
getMax
public java.lang.Integer getMax()
- Returns:
- the max
-
setMax
public AbstractRestPublishService.SSEEvent setMax(java.lang.Integer max)
- Parameters:
max- the max to set
-
isFinished
public boolean isFinished()
- Returns:
- the finished
-
setFinished
public AbstractRestPublishService.SSEEvent setFinished(boolean finished)
- Parameters:
finished- the finished to set
-
getCallId
public java.lang.String getCallId()
- Returns:
- the callid
-
setCallId
public AbstractRestPublishService.SSEEvent setCallId(java.lang.String callid)
- Parameters:
callid- the callid to set
-
getExecptionType
public java.lang.String getExecptionType()
- Returns:
- the execptiontype
-
setExecptionType
public AbstractRestPublishService.SSEEvent setExecptionType(java.lang.String execptiontype)
- Parameters:
execptiontype- the execptiontype to set
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-