public abstract class TCOperationTcapComponent extends java.lang.Object implements TcapComponent, java.io.Serializable, com.opencloud.util.FastSerializable
TcapComponent.Type
Constructor and Description |
---|
TCOperationTcapComponent(java.io.DataInput ip) |
TCOperationTcapComponent(TcapComponent.Type type,
TcapOperation operation,
int invokeId) |
Modifier and Type | Method and Description |
---|---|
TCOperationInvokeTcapComponent |
asTcOperationInvoke() |
TCOperationProviderErrorTcapComponent |
asTcOperationProviderError() |
TCOperationResultTcapComponent |
asTcOperationResult() |
TCOperationUserErrorTcapComponent<?> |
asTcOperationUserError() |
boolean |
equals(java.lang.Object o) |
int |
getInvokeId() |
TcapOperation |
getOperation() |
TcapComponent.Type |
getType() |
int |
hashCode() |
boolean |
isType(TcapComponent.Type toCheck) |
void |
setInvokeId(int invokeId) |
void |
toStream(java.io.DataOutput op)
Serialize the state of this object to a stream.
|
public TCOperationTcapComponent(java.io.DataInput ip) throws java.io.IOException
java.io.IOException
public TCOperationTcapComponent(TcapComponent.Type type, TcapOperation operation, int invokeId)
public void toStream(java.io.DataOutput op) throws java.io.IOException
toStream
in interface com.opencloud.util.FastSerializable
op
- the stream to serialize to.java.io.IOException
- if an error occurs during serializationpublic TcapOperation getOperation()
getOperation
in interface TcapComponent
public int getInvokeId()
public void setInvokeId(int invokeId)
public final TcapComponent.Type getType()
getType
in interface TcapComponent
public final boolean isType(TcapComponent.Type toCheck)
isType
in interface TcapComponent
toCheck
- the type to compare the type of this tcap component totoCheck
public final TCOperationInvokeTcapComponent asTcOperationInvoke()
asTcOperationInvoke
in interface TcapComponent
public final TCOperationResultTcapComponent asTcOperationResult()
asTcOperationResult
in interface TcapComponent
public final TCOperationProviderErrorTcapComponent asTcOperationProviderError()
asTcOperationProviderError
in interface TcapComponent
public final TCOperationUserErrorTcapComponent<?> asTcOperationUserError()
asTcOperationUserError
in interface TcapComponent
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © OpenCloud. All Rights Reserved.