Interface CAP3Dialog

  • All Superinterfaces:
    CAP1Dialog, CAP2Dialog, CCDialog, Dialog
    All Known Subinterfaces:
    CAP4Dialog

    public interface CAP3Dialog
    extends CAP2Dialog
    Protocol-specific extension interface for cap_v3 dialogs. Contains typesafe convenience methods for sending operation invokes, results, and errors.
    • Method Detail

      • sendActivityTestGPRS

        int sendActivityTestGPRS​(long timeout)
                          throws TooManyInvokesException,
                                 ProtocolException
        Issues an activityTestGPRS operation request on the dialog.
        Parameters:
        timeout - invoke timeout, in milliseconds; 0 uses the RA default
        Returns:
        TCAP invoke ID allocated for this operation
        Throws:
        TooManyInvokesException - if no free invoke id is available on this dialog
        ProtocolException - if the RA was unable to send the invoke for some reason
      • sendActivityTestGPRSResponse

        void sendActivityTestGPRSResponse​(int invokeId)
                                   throws ProtocolException
        Issues a (last) response to an activityTestGPRS operation on the dialog.
        Parameters:
        invokeId - TCAP invoke ID for the operation
        Throws:
        ProtocolException - if the RA was unable to send the response for some reason
      • sendActivityTestGPRSResponse

        void sendActivityTestGPRSResponse​(int invokeId,
                                          boolean isLast)
                                   throws ProtocolException
        Issues a response to an activityTestGPRS operation on the dialog.
        Parameters:
        invokeId - TCAP invoke ID for the operation
        isLast - if true, will be sent in a ResultLast, if false will be sent in a ResultNotLast
        Throws:
        ProtocolException - if the RA was unable to send the response for some reason
      • sendApplyChargingReportGPRS

        int sendApplyChargingReportGPRS​(long timeout,
                                        CAP3ApplyChargingReportGPRSArg argument)
                                 throws TooManyInvokesException,
                                        ProtocolException
        Issues an applyChargingReportGPRS operation request on the dialog.
        Parameters:
        timeout - invoke timeout, in milliseconds; 0 uses the RA default
        argument - argument value
        Returns:
        TCAP invoke ID allocated for this operation
        Throws:
        TooManyInvokesException - if no free invoke id is available on this dialog
        ProtocolException - if the RA was unable to send the invoke for some reason
      • sendApplyChargingReportGPRSResponse

        void sendApplyChargingReportGPRSResponse​(int invokeId)
                                          throws ProtocolException
        Issues a (last) response to an applyChargingReportGPRS operation on the dialog.
        Parameters:
        invokeId - TCAP invoke ID for the operation
        Throws:
        ProtocolException - if the RA was unable to send the response for some reason
      • sendApplyChargingReportGPRSResponse

        void sendApplyChargingReportGPRSResponse​(int invokeId,
                                                 boolean isLast)
                                          throws ProtocolException
        Issues a response to an applyChargingReportGPRS operation on the dialog.
        Parameters:
        invokeId - TCAP invoke ID for the operation
        isLast - if true, will be sent in a ResultLast, if false will be sent in a ResultNotLast
        Throws:
        ProtocolException - if the RA was unable to send the response for some reason
      • sendEntityReleasedGPRS

        int sendEntityReleasedGPRS​(long timeout,
                                   CAP3EntityReleasedGPRSArg argument)
                            throws TooManyInvokesException,
                                   ProtocolException
        Issues an entityReleasedGPRS operation request on the dialog.
        Parameters:
        timeout - invoke timeout, in milliseconds; 0 uses the RA default
        argument - argument value
        Returns:
        TCAP invoke ID allocated for this operation
        Throws:
        TooManyInvokesException - if no free invoke id is available on this dialog
        ProtocolException - if the RA was unable to send the invoke for some reason
      • sendEntityReleasedGPRSResponse

        void sendEntityReleasedGPRSResponse​(int invokeId)
                                     throws ProtocolException
        Issues a (last) response to an entityReleasedGPRS operation on the dialog.
        Parameters:
        invokeId - TCAP invoke ID for the operation
        Throws:
        ProtocolException - if the RA was unable to send the response for some reason
      • sendEntityReleasedGPRSResponse

        void sendEntityReleasedGPRSResponse​(int invokeId,
                                            boolean isLast)
                                     throws ProtocolException
        Issues a response to an entityReleasedGPRS operation on the dialog.
        Parameters:
        invokeId - TCAP invoke ID for the operation
        isLast - if true, will be sent in a ResultLast, if false will be sent in a ResultNotLast
        Throws:
        ProtocolException - if the RA was unable to send the response for some reason
      • sendEventReportGPRS

        int sendEventReportGPRS​(long timeout,
                                CAP3EventReportGPRSArg argument)
                         throws TooManyInvokesException,
                                ProtocolException
        Issues an eventReportGPRS operation request on the dialog.
        Parameters:
        timeout - invoke timeout, in milliseconds; 0 uses the RA default
        argument - argument value
        Returns:
        TCAP invoke ID allocated for this operation
        Throws:
        TooManyInvokesException - if no free invoke id is available on this dialog
        ProtocolException - if the RA was unable to send the invoke for some reason
      • sendEventReportGPRSResponse

        void sendEventReportGPRSResponse​(int invokeId)
                                  throws ProtocolException
        Issues a (last) response to an eventReportGPRS operation on the dialog.
        Parameters:
        invokeId - TCAP invoke ID for the operation
        Throws:
        ProtocolException - if the RA was unable to send the response for some reason
      • sendEventReportGPRSResponse

        void sendEventReportGPRSResponse​(int invokeId,
                                         boolean isLast)
                                  throws ProtocolException
        Issues a response to an eventReportGPRS operation on the dialog.
        Parameters:
        invokeId - TCAP invoke ID for the operation
        isLast - if true, will be sent in a ResultLast, if false will be sent in a ResultNotLast
        Throws:
        ProtocolException - if the RA was unable to send the response for some reason
      • sendUnknownPDPIDError

        void sendUnknownPDPIDError​(int invokeId)
                            throws ProtocolException
        Issues an unknownPDPID error response for an operation on the dialog.
        Parameters:
        invokeId - TCAP invoke ID for the operation
        Throws:
        ProtocolException - if the RA was unable to send the error response for some reason