org.mobicents.protocols.ss7.map.dialog
Class MAPUserAbortChoiceImpl

java.lang.Object
  extended by org.mobicents.protocols.ss7.map.dialog.MAPUserAbortChoiceImpl
All Implemented Interfaces:
MAPUserAbortChoice

public class MAPUserAbortChoiceImpl
extends java.lang.Object
implements MAPUserAbortChoice

MAP-UserAbortChoice ::= CHOICE { userSpecificReason [0] NULL, userResourceLimitation [1] NULL, resourceUnavailable [2] ResourceUnavailableReason, applicationProcedureCancellation [3] ProcedureCancellationReason}

Author:
amit bhayani

Field Summary
protected static int APPLICATION_PROCEDURE_CANCELLATION
           
protected static int RESOURCE_UNAVAILABLE
           
protected static int USER_RESOURCE_LIMITATION_TAG
           
protected static int USER_SPECIFIC_REASON_TAG
           
 
Constructor Summary
MAPUserAbortChoiceImpl()
           
 
Method Summary
 void decode(org.mobicents.protocols.asn.AsnInputStream ais)
           
 void encode(org.mobicents.protocols.asn.AsnOutputStream asnOS)
           
 ProcedureCancellationReason getProcedureCancellationReason()
           
 ResourceUnavailableReason getResourceUnavailableReason()
           
 boolean isProcedureCancellationReason()
           
 boolean isResourceUnavailableReason()
           
 boolean isUserResourceLimitation()
           
 boolean isUserSpecificReason()
           
 void setProcedureCancellationReason(ProcedureCancellationReason procCanReasn)
           
 void setResourceUnavailableReason(ResourceUnavailableReason resUnaReas)
           
 void setUserResourceLimitation()
           
 void setUserSpecificReason()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_SPECIFIC_REASON_TAG

protected static final int USER_SPECIFIC_REASON_TAG
See Also:
Constant Field Values

USER_RESOURCE_LIMITATION_TAG

protected static final int USER_RESOURCE_LIMITATION_TAG
See Also:
Constant Field Values

RESOURCE_UNAVAILABLE

protected static final int RESOURCE_UNAVAILABLE
See Also:
Constant Field Values

APPLICATION_PROCEDURE_CANCELLATION

protected static final int APPLICATION_PROCEDURE_CANCELLATION
See Also:
Constant Field Values
Constructor Detail

MAPUserAbortChoiceImpl

public MAPUserAbortChoiceImpl()
Method Detail

getProcedureCancellationReason

public ProcedureCancellationReason getProcedureCancellationReason()
Specified by:
getProcedureCancellationReason in interface MAPUserAbortChoice

getResourceUnavailableReason

public ResourceUnavailableReason getResourceUnavailableReason()
Specified by:
getResourceUnavailableReason in interface MAPUserAbortChoice

isProcedureCancellationReason

public boolean isProcedureCancellationReason()
Specified by:
isProcedureCancellationReason in interface MAPUserAbortChoice

isResourceUnavailableReason

public boolean isResourceUnavailableReason()
Specified by:
isResourceUnavailableReason in interface MAPUserAbortChoice

isUserResourceLimitation

public boolean isUserResourceLimitation()
Specified by:
isUserResourceLimitation in interface MAPUserAbortChoice

isUserSpecificReason

public boolean isUserSpecificReason()
Specified by:
isUserSpecificReason in interface MAPUserAbortChoice

setProcedureCancellationReason

public void setProcedureCancellationReason(ProcedureCancellationReason procCanReasn)
Specified by:
setProcedureCancellationReason in interface MAPUserAbortChoice

setResourceUnavailableReason

public void setResourceUnavailableReason(ResourceUnavailableReason resUnaReas)
Specified by:
setResourceUnavailableReason in interface MAPUserAbortChoice

setUserResourceLimitation

public void setUserResourceLimitation()
Specified by:
setUserResourceLimitation in interface MAPUserAbortChoice

setUserSpecificReason

public void setUserSpecificReason()
Specified by:
setUserSpecificReason in interface MAPUserAbortChoice

decode

public void decode(org.mobicents.protocols.asn.AsnInputStream ais)
            throws org.mobicents.protocols.asn.AsnException,
                   java.io.IOException,
                   MAPException
Throws:
org.mobicents.protocols.asn.AsnException
java.io.IOException
MAPException

encode

public void encode(org.mobicents.protocols.asn.AsnOutputStream asnOS)
            throws java.io.IOException,
                   MAPException
Throws:
java.io.IOException
MAPException


Copyright © 2011. All Rights Reserved.