public class XmlMAPDialog extends Object implements org.mobicents.protocols.ss7.map.api.MAPDialog, javolution.xml.XMLSerializable
Represents the underlying MAPDialogSupplementary. Application can use
this instance of this class, set the supplementary MAPMessage and
pass it EventsSerializeFactory to serialize this Dialog to send
across the wire.
Application may also pass byte[] to EventsSerializeFactory and get
deserialized Dailog back
| Modifier and Type | Field and Description |
|---|---|
protected org.mobicents.protocols.ss7.map.api.MAPApplicationContext |
appCntx |
protected org.mobicents.protocols.ss7.sccp.parameter.SccpAddress |
localAddress |
protected org.mobicents.protocols.ss7.sccp.parameter.SccpAddress |
remoteAddress |
protected static javolution.xml.XMLFormat<XmlMAPDialog> |
USSR_XML |
| Constructor and Description |
|---|
XmlMAPDialog() |
XmlMAPDialog(org.mobicents.protocols.ss7.map.api.MAPApplicationContext appCntx,
org.mobicents.protocols.ss7.sccp.parameter.SccpAddress localAddress,
org.mobicents.protocols.ss7.sccp.parameter.SccpAddress remoteAddress,
Long localId,
Long remoteId,
org.mobicents.protocols.ss7.map.api.primitives.AddressString destReference,
org.mobicents.protocols.ss7.map.api.primitives.AddressString origReference) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(org.mobicents.protocols.ss7.map.api.dialog.MAPUserAbortChoice mapUserAbortChoice) |
void |
addEricssonData(org.mobicents.protocols.ss7.map.api.primitives.IMSI arg0,
org.mobicents.protocols.ss7.map.api.primitives.AddressString arg1) |
void |
addMAPMessage(org.mobicents.protocols.ss7.map.api.MAPMessage mapMessage)
Non MAPDialog methods
|
boolean |
cancelInvocation(Long arg0) |
void |
close(boolean prearrangedEnd) |
void |
closeDelayed(boolean arg0) |
protected static org.mobicents.protocols.ss7.map.api.MAPApplicationContext |
deserializeMAPApplicationContext(String str) |
protected static org.mobicents.protocols.ss7.map.api.dialog.MAPUserAbortChoice |
deserializeMAPUserAbortChoice(String str) |
org.mobicents.protocols.ss7.map.api.MAPApplicationContext |
getApplicationContext() |
Integer |
getCustomInvokeTimeOut() |
Boolean |
getDialogTimedOut() |
Boolean |
getEmptyDialogHandshake() |
Map<Long,org.mobicents.protocols.ss7.map.api.errors.MAPErrorMessage> |
getErrorComponents() |
Long |
getInvokeTimedOut() |
org.mobicents.protocols.ss7.sccp.parameter.SccpAddress |
getLocalAddress() |
Long |
getLocalDialogId() |
org.mobicents.protocols.ss7.map.api.dialog.MAPAbortProviderReason |
getMapAbortProviderReason() |
javolution.util.FastList<org.mobicents.protocols.ss7.map.api.MAPMessage> |
getMAPMessages() |
org.mobicents.protocols.ss7.map.api.dialog.MAPRefuseReason |
getMapRefuseReason() |
org.mobicents.protocols.ss7.map.api.dialog.MAPUserAbortChoice |
getMAPUserAbortChoice() |
int |
getMaxUserDataLength() |
int |
getMessageUserDataLengthOnClose(boolean arg0) |
int |
getMessageUserDataLengthOnSend() |
int |
getNetworkId() |
Boolean |
getPrearrangedEnd() |
javolution.util.FastList<Long> |
getProcessInvokeWithoutAnswerIds() |
org.mobicents.protocols.ss7.map.api.primitives.AddressString |
getReceivedDestReference() |
org.mobicents.protocols.ss7.map.api.primitives.MAPExtensionContainer |
getReceivedExtensionContainer() |
org.mobicents.protocols.ss7.map.api.primitives.AddressString |
getReceivedOrigReference() |
Map<Long,org.mobicents.protocols.ss7.tcap.asn.comp.Problem> |
getRejectComponents() |
org.mobicents.protocols.ss7.sccp.parameter.SccpAddress |
getRemoteAddress() |
Long |
getRemoteDialogId() |
boolean |
getReturnMessageOnError() |
org.mobicents.protocols.ss7.map.api.MAPServiceBase |
getService() |
Boolean |
getSriPart() |
org.mobicents.protocols.ss7.map.api.dialog.MAPDialogState |
getState() |
org.mobicents.protocols.ss7.tcap.api.MessageType |
getTCAPMessageType() |
Object |
getUserObject() |
void |
keepAlive() |
void |
processInvokeWithoutAnswer(Long invokeId) |
void |
refuse(org.mobicents.protocols.ss7.map.api.dialog.Reason refuseReason) |
void |
release() |
boolean |
removeMAPMessage(org.mobicents.protocols.ss7.map.api.MAPMessage mapMessage) |
void |
reset() |
void |
resetInvokeTimer(Long arg0) |
void |
send() |
void |
sendDelayed() |
void |
sendErrorComponent(Long invokeId,
org.mobicents.protocols.ss7.map.api.errors.MAPErrorMessage mapErrorMessage) |
void |
sendInvokeComponent(org.mobicents.protocols.ss7.tcap.asn.comp.Invoke arg0) |
void |
sendRejectComponent(Long invokeId,
org.mobicents.protocols.ss7.tcap.asn.comp.Problem problem) |
void |
sendReturnResultComponent(org.mobicents.protocols.ss7.tcap.asn.comp.ReturnResult arg0) |
void |
sendReturnResultLastComponent(org.mobicents.protocols.ss7.tcap.asn.comp.ReturnResultLast arg0) |
protected static String |
serializeMAPApplicationContext(org.mobicents.protocols.ss7.map.api.MAPApplicationContext mapApplicationContext) |
protected static String |
serializeMAPUserAbortChoice(org.mobicents.protocols.ss7.map.api.dialog.MAPUserAbortChoice abort) |
void |
setCustomInvokeTimeOut(Integer customInvokeTimeOut)
Set custom invoke time out for added MapMessages.
|
void |
setDialogTimedOut(Boolean dialogTimedOut) |
void |
setEmptyDialogHandshake(Boolean emptyDialogHandshake)
A special parameter used only when Dialog is initiated by USSD Gw (Push
or Proxy).
|
void |
setExtentionContainer(org.mobicents.protocols.ss7.map.api.primitives.MAPExtensionContainer arg0) |
void |
setInvokeTimedOut(Long invokeTimedOut) |
void |
setLocalAddress(org.mobicents.protocols.ss7.sccp.parameter.SccpAddress origAddress) |
void |
setMapAbortProviderReason(org.mobicents.protocols.ss7.map.api.dialog.MAPAbortProviderReason mapAbortProviderReason) |
void |
setMapRefuseReason(org.mobicents.protocols.ss7.map.api.dialog.MAPRefuseReason mapRefuseReason) |
void |
setNetworkId(int networkId) |
void |
setRemoteAddress(org.mobicents.protocols.ss7.sccp.parameter.SccpAddress destAddress) |
void |
setReturnMessageOnError(boolean returnMessageOnError) |
void |
setSriPart(Boolean sriPart) |
void |
setTCAPMessageType(org.mobicents.protocols.ss7.tcap.api.MessageType messageType) |
void |
setUserObject(Object obj) |
String |
toString() |
protected org.mobicents.protocols.ss7.map.api.MAPApplicationContext appCntx
protected org.mobicents.protocols.ss7.sccp.parameter.SccpAddress localAddress
protected org.mobicents.protocols.ss7.sccp.parameter.SccpAddress remoteAddress
protected static final javolution.xml.XMLFormat<XmlMAPDialog> USSR_XML
public XmlMAPDialog()
public XmlMAPDialog(org.mobicents.protocols.ss7.map.api.MAPApplicationContext appCntx,
org.mobicents.protocols.ss7.sccp.parameter.SccpAddress localAddress,
org.mobicents.protocols.ss7.sccp.parameter.SccpAddress remoteAddress,
Long localId,
Long remoteId,
org.mobicents.protocols.ss7.map.api.primitives.AddressString destReference,
org.mobicents.protocols.ss7.map.api.primitives.AddressString origReference)
public void abort(org.mobicents.protocols.ss7.map.api.dialog.MAPUserAbortChoice mapUserAbortChoice)
throws org.mobicents.protocols.ss7.map.api.MAPException
abort in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic void addEricssonData(org.mobicents.protocols.ss7.map.api.primitives.IMSI arg0,
org.mobicents.protocols.ss7.map.api.primitives.AddressString arg1)
addEricssonData in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic boolean cancelInvocation(Long arg0) throws org.mobicents.protocols.ss7.map.api.MAPException
cancelInvocation in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic void close(boolean prearrangedEnd)
throws org.mobicents.protocols.ss7.map.api.MAPException
close in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic void closeDelayed(boolean arg0)
throws org.mobicents.protocols.ss7.map.api.MAPException
closeDelayed in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic org.mobicents.protocols.ss7.map.api.MAPApplicationContext getApplicationContext()
getApplicationContext in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic org.mobicents.protocols.ss7.sccp.parameter.SccpAddress getLocalAddress()
getLocalAddress in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic Long getLocalDialogId()
getLocalDialogId in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic int getMaxUserDataLength()
getMaxUserDataLength in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic int getMessageUserDataLengthOnClose(boolean arg0)
throws org.mobicents.protocols.ss7.map.api.MAPException
getMessageUserDataLengthOnClose in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic int getMessageUserDataLengthOnSend()
throws org.mobicents.protocols.ss7.map.api.MAPException
getMessageUserDataLengthOnSend in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic org.mobicents.protocols.ss7.map.api.primitives.AddressString getReceivedDestReference()
getReceivedDestReference in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic org.mobicents.protocols.ss7.map.api.primitives.MAPExtensionContainer getReceivedExtensionContainer()
getReceivedExtensionContainer in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic org.mobicents.protocols.ss7.map.api.primitives.AddressString getReceivedOrigReference()
getReceivedOrigReference in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic org.mobicents.protocols.ss7.sccp.parameter.SccpAddress getRemoteAddress()
getRemoteAddress in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic Long getRemoteDialogId()
getRemoteDialogId in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic boolean getReturnMessageOnError()
getReturnMessageOnError in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic org.mobicents.protocols.ss7.map.api.MAPServiceBase getService()
getService in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic org.mobicents.protocols.ss7.map.api.dialog.MAPDialogState getState()
getState in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic org.mobicents.protocols.ss7.tcap.api.MessageType getTCAPMessageType()
getTCAPMessageType in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic Object getUserObject()
getUserObject in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic void keepAlive()
keepAlive in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic void processInvokeWithoutAnswer(Long invokeId)
processInvokeWithoutAnswer in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic void refuse(org.mobicents.protocols.ss7.map.api.dialog.Reason refuseReason)
throws org.mobicents.protocols.ss7.map.api.MAPException
refuse in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic void release()
release in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic void resetInvokeTimer(Long arg0) throws org.mobicents.protocols.ss7.map.api.MAPException
resetInvokeTimer in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic void send()
throws org.mobicents.protocols.ss7.map.api.MAPException
send in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic void sendDelayed()
throws org.mobicents.protocols.ss7.map.api.MAPException
sendDelayed in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic void sendErrorComponent(Long invokeId, org.mobicents.protocols.ss7.map.api.errors.MAPErrorMessage mapErrorMessage) throws org.mobicents.protocols.ss7.map.api.MAPException
sendErrorComponent in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic void sendInvokeComponent(org.mobicents.protocols.ss7.tcap.asn.comp.Invoke arg0)
throws org.mobicents.protocols.ss7.map.api.MAPException
sendInvokeComponent in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic void sendRejectComponent(Long invokeId, org.mobicents.protocols.ss7.tcap.asn.comp.Problem problem) throws org.mobicents.protocols.ss7.map.api.MAPException
sendRejectComponent in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic void sendReturnResultComponent(org.mobicents.protocols.ss7.tcap.asn.comp.ReturnResult arg0)
throws org.mobicents.protocols.ss7.map.api.MAPException
sendReturnResultComponent in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic void sendReturnResultLastComponent(org.mobicents.protocols.ss7.tcap.asn.comp.ReturnResultLast arg0)
throws org.mobicents.protocols.ss7.map.api.MAPException
sendReturnResultLastComponent in interface org.mobicents.protocols.ss7.map.api.MAPDialogorg.mobicents.protocols.ss7.map.api.MAPExceptionpublic void setExtentionContainer(org.mobicents.protocols.ss7.map.api.primitives.MAPExtensionContainer arg0)
setExtentionContainer in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic void setLocalAddress(org.mobicents.protocols.ss7.sccp.parameter.SccpAddress origAddress)
setLocalAddress in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic void setRemoteAddress(org.mobicents.protocols.ss7.sccp.parameter.SccpAddress destAddress)
setRemoteAddress in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic void setReturnMessageOnError(boolean returnMessageOnError)
setReturnMessageOnError in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic void setUserObject(Object obj)
setUserObject in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic int getNetworkId()
getNetworkId in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic void setNetworkId(int networkId)
setNetworkId in interface org.mobicents.protocols.ss7.map.api.MAPDialogpublic void addMAPMessage(org.mobicents.protocols.ss7.map.api.MAPMessage mapMessage)
public boolean removeMAPMessage(org.mobicents.protocols.ss7.map.api.MAPMessage mapMessage)
public javolution.util.FastList<org.mobicents.protocols.ss7.map.api.MAPMessage> getMAPMessages()
public javolution.util.FastList<Long> getProcessInvokeWithoutAnswerIds()
public Map<Long,org.mobicents.protocols.ss7.map.api.errors.MAPErrorMessage> getErrorComponents()
public Map<Long,org.mobicents.protocols.ss7.tcap.asn.comp.Problem> getRejectComponents()
public org.mobicents.protocols.ss7.map.api.dialog.MAPUserAbortChoice getMAPUserAbortChoice()
public org.mobicents.protocols.ss7.map.api.dialog.MAPAbortProviderReason getMapAbortProviderReason()
public void setMapAbortProviderReason(org.mobicents.protocols.ss7.map.api.dialog.MAPAbortProviderReason mapAbortProviderReason)
public org.mobicents.protocols.ss7.map.api.dialog.MAPRefuseReason getMapRefuseReason()
public void setMapRefuseReason(org.mobicents.protocols.ss7.map.api.dialog.MAPRefuseReason mapRefuseReason)
public Boolean getDialogTimedOut()
public void setDialogTimedOut(Boolean dialogTimedOut)
public Boolean getSriPart()
public void setSriPart(Boolean sriPart)
public Boolean getPrearrangedEnd()
public void setTCAPMessageType(org.mobicents.protocols.ss7.tcap.api.MessageType messageType)
public Long getInvokeTimedOut()
public void setInvokeTimedOut(Long invokeTimedOut)
public Integer getCustomInvokeTimeOut()
public void setCustomInvokeTimeOut(Integer customInvokeTimeOut)
customInvokeTimeOut - public Boolean getEmptyDialogHandshake()
public void setEmptyDialogHandshake(Boolean emptyDialogHandshake)
emptyDialogHandshake - public void reset()
protected static String serializeMAPUserAbortChoice(org.mobicents.protocols.ss7.map.api.dialog.MAPUserAbortChoice abort)
protected static org.mobicents.protocols.ss7.map.api.dialog.MAPUserAbortChoice deserializeMAPUserAbortChoice(String str)
protected static String serializeMAPApplicationContext(org.mobicents.protocols.ss7.map.api.MAPApplicationContext mapApplicationContext)
protected static org.mobicents.protocols.ss7.map.api.MAPApplicationContext deserializeMAPApplicationContext(String str)
Copyright © 2016. All Rights Reserved.