org.mobicents.protocols.ss7.sccp
Interface SccpStack


public interface SccpStack

Author:
amit bhayani, baranowb, kulikov

Field Summary
static int UDT_ONLY
           
static int XUDT_ONLY
           
 
Method Summary
 SccpProvider getSccpProvider()
          Exposes SCCP provider object to SCCP user.
 void setRouter(Router router)
          Allows to plug custom implementation of SCCP router
 void setTransferType(int type)
          Defines transfer type for outgoing messages.
 void start()
          Starts SCCP stack.
 void stop()
          Terminates SCCP stack.
 

Field Detail

UDT_ONLY

static final int UDT_ONLY
See Also:
Constant Field Values

XUDT_ONLY

static final int XUDT_ONLY
See Also:
Constant Field Values
Method Detail

start

void start()
           throws java.lang.IllegalStateException,
                  StartFailedException
Starts SCCP stack.

Throws:
java.lang.IllegalStateException
StartFailedException

stop

void stop()
Terminates SCCP stack.

Throws:
java.lang.IllegalStateException
StartFailedException

getSccpProvider

SccpProvider getSccpProvider()
Exposes SCCP provider object to SCCP user.

Returns:
SCCP provider object.

setRouter

void setRouter(Router router)
Allows to plug custom implementation of SCCP router

Parameters:
router - the router implementation.

setTransferType

void setTransferType(int type)
Defines transfer type for outgoing messages.

Parameters:
type - the type of transfer. valid values are UDT_ONLY and XUDT_ONLY.


Copyright © 2011. All Rights Reserved.