Class DialogMessageTcapMessage
- java.lang.Object
-
- com.opencloud.sentinel.ipsmgw.eventmanager.tcapmessage.BaseDialogTcapMessage
-
- com.opencloud.sentinel.ipsmgw.eventmanager.tcapmessage.DialogMessageTcapMessage
-
- All Implemented Interfaces:
DialogTcapMessage
,com.opencloud.util.FastSerializable
,java.io.Serializable
- Direct Known Subclasses:
DialogOpenRequestTcapMessage
public class DialogMessageTcapMessage extends BaseDialogTcapMessage
Represents a message on a tcap dialog that may have some associated components. May be TC-Begin, a TC-Continue or a TC-End. The types of message that may have tcap components also include an open request and an open accept.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.opencloud.sentinel.ipsmgw.eventmanager.tcapmessage.BaseDialogTcapMessage
BaseDialogTcapMessage.MessageType
-
Nested classes/interfaces inherited from interface com.opencloud.sentinel.ipsmgw.eventmanager.tcapmessage.DialogTcapMessage
DialogTcapMessage.Type
-
-
Field Summary
-
Fields inherited from class com.opencloud.sentinel.ipsmgw.eventmanager.tcapmessage.BaseDialogTcapMessage
NO_COMPONENTS
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DialogMessageTcapMessage(BaseDialogTcapMessage.MessageType messageType, DialogTcapMessage.Type type)
protected
DialogMessageTcapMessage(BaseDialogTcapMessage.MessageType messageType, DialogTcapMessage.Type type, com.opencloud.slee.resources.cgin.ComponentEvent[] components)
protected
DialogMessageTcapMessage(BaseDialogTcapMessage.MessageType messageType, DialogTcapMessage.Type type, com.opencloud.slee.resources.cgin.ComponentEvent[] components, java.lang.Object[] userInfo)
protected
DialogMessageTcapMessage(BaseDialogTcapMessage.MessageType messageType, DialogTcapMessage.Type type, java.lang.Object[] userInfo)
DialogMessageTcapMessage(DialogMessageTcapMessage toCopy)
DialogMessageTcapMessage(java.io.DataInput ip)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
TcapComponent[]
getComponents()
boolean
getUseGtAsCallingParty()
boolean
hasComponents()
int
hashCode()
static DialogMessageTcapMessage
newOpenAccept()
static DialogMessageTcapMessage
newTcContinue()
static DialogMessageTcapMessage
newTcEnd()
void
setComponents(TcapComponent[] components)
void
setUseGtAsCallingParty(boolean b)
void
toStream(java.io.DataOutput op)
java.lang.String
toString()
-
Methods inherited from class com.opencloud.sentinel.ipsmgw.eventmanager.tcapmessage.BaseDialogTcapMessage
asDialogMessage, asDialogOpenAccept, asDialogOpenRefuse, asDialogOpenRequest, asDialogProviderAbort, asDialogUserAbort, asTcContinue, asTcEnd, asTcEnd, getMessageType, getType, getUserInformation, isPrearrangedEnd, isTcBegin, isTcContinue, isTcEnd, isType, setUserInformation
-
-
-
-
Constructor Detail
-
DialogMessageTcapMessage
public DialogMessageTcapMessage(java.io.DataInput ip) throws java.io.IOException
- Throws:
java.io.IOException
-
DialogMessageTcapMessage
public DialogMessageTcapMessage(DialogMessageTcapMessage toCopy)
-
DialogMessageTcapMessage
protected DialogMessageTcapMessage(BaseDialogTcapMessage.MessageType messageType, DialogTcapMessage.Type type)
-
DialogMessageTcapMessage
protected DialogMessageTcapMessage(BaseDialogTcapMessage.MessageType messageType, DialogTcapMessage.Type type, com.opencloud.slee.resources.cgin.ComponentEvent[] components)
-
DialogMessageTcapMessage
protected DialogMessageTcapMessage(BaseDialogTcapMessage.MessageType messageType, DialogTcapMessage.Type type, java.lang.Object[] userInfo)
-
DialogMessageTcapMessage
protected DialogMessageTcapMessage(BaseDialogTcapMessage.MessageType messageType, DialogTcapMessage.Type type, com.opencloud.slee.resources.cgin.ComponentEvent[] components, java.lang.Object[] userInfo)
-
-
Method Detail
-
newOpenAccept
public static DialogMessageTcapMessage newOpenAccept()
-
newTcContinue
public static DialogMessageTcapMessage newTcContinue()
-
newTcEnd
public static DialogMessageTcapMessage newTcEnd()
-
hasComponents
public final boolean hasComponents()
- Specified by:
hasComponents
in interfaceDialogTcapMessage
- Overrides:
hasComponents
in classBaseDialogTcapMessage
- Returns:
- true if this message has some associated components
-
getComponents
public final TcapComponent[] getComponents()
- Specified by:
getComponents
in interfaceDialogTcapMessage
- Overrides:
getComponents
in classBaseDialogTcapMessage
- Returns:
- the components associated with this message
-
setComponents
public final void setComponents(TcapComponent[] components)
-
getUseGtAsCallingParty
public final boolean getUseGtAsCallingParty()
-
setUseGtAsCallingParty
public void setUseGtAsCallingParty(boolean b)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toStream
public void toStream(java.io.DataOutput op) throws java.io.IOException
- Specified by:
toStream
in interfacecom.opencloud.util.FastSerializable
- Overrides:
toStream
in classBaseDialogTcapMessage
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classBaseDialogTcapMessage
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBaseDialogTcapMessage
-
-