Class TCOperationResultTcapComponent
- java.lang.Object
-
- com.opencloud.sentinel.ipsmgw.eventmanager.tcapmessage.TCOperationTcapComponent
-
- com.opencloud.sentinel.ipsmgw.eventmanager.tcapmessage.TCOperationResultTcapComponent
-
- All Implemented Interfaces:
TcapComponent
,com.opencloud.util.FastSerializable
,java.io.Serializable
public final class TCOperationResultTcapComponent extends TCOperationTcapComponent
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.opencloud.sentinel.ipsmgw.eventmanager.tcapmessage.TcapComponent
TcapComponent.Type
-
-
Constructor Summary
Constructors Constructor Description TCOperationResultTcapComponent(TCOperationResultTcapComponent toCopy)
TCOperationResultTcapComponent(com.opencloud.slee.resources.cgin.OperationResultEvent<?> result)
TCOperationResultTcapComponent(com.opencloud.slee.resources.cgin.TcapOperation operation, java.lang.Object result, int invokeId)
TCOperationResultTcapComponent(com.opencloud.slee.resources.cgin.TcapOperation operation, java.lang.Object result, int invokeId, boolean lastResult)
TCOperationResultTcapComponent(java.io.DataInput ip)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.Object
getResult()
int
hashCode()
boolean
isLastResult()
void
setLastResult(boolean lastResult)
void
setResult(java.lang.Object result)
void
toStream(java.io.DataOutput op)
Serialize the state of this object to a stream.java.lang.String
toString()
-
Methods inherited from class com.opencloud.sentinel.ipsmgw.eventmanager.tcapmessage.TCOperationTcapComponent
asTcOperationInvoke, asTcOperationProviderError, asTcOperationResult, asTcOperationUserError, getInvokeId, getOperation, getType, isType, setInvokeId
-
-
-
-
Constructor Detail
-
TCOperationResultTcapComponent
public TCOperationResultTcapComponent(java.io.DataInput ip) throws java.io.IOException
- Throws:
java.io.IOException
-
TCOperationResultTcapComponent
public TCOperationResultTcapComponent(com.opencloud.slee.resources.cgin.TcapOperation operation, java.lang.Object result, int invokeId, boolean lastResult)
-
TCOperationResultTcapComponent
public TCOperationResultTcapComponent(com.opencloud.slee.resources.cgin.TcapOperation operation, java.lang.Object result, int invokeId)
-
TCOperationResultTcapComponent
public TCOperationResultTcapComponent(TCOperationResultTcapComponent toCopy)
-
TCOperationResultTcapComponent
public TCOperationResultTcapComponent(com.opencloud.slee.resources.cgin.OperationResultEvent<?> result)
-
-
Method Detail
-
toStream
public void toStream(java.io.DataOutput op) throws java.io.IOException
Serialize the state of this object to a stream.- Specified by:
toStream
in interfacecom.opencloud.util.FastSerializable
- Overrides:
toStream
in classTCOperationTcapComponent
- Parameters:
op
- the stream to serialize to.- Throws:
java.io.IOException
- if an error occurs during serialization
-
getResult
public java.lang.Object getResult()
-
setResult
public void setResult(java.lang.Object result)
-
isLastResult
public boolean isLastResult()
-
setLastResult
public void setLastResult(boolean lastResult)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classTCOperationTcapComponent
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTCOperationTcapComponent
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-