org.mobicents.protocols.ss7.sccp
Interface SccpStack


public interface SccpStack

Author:
baranowb, kulikov

Field Summary
static int UDT_ONLY
           
static int XUDT_ONLY
           
 
Method Summary
 SccpProvider getSccpProvider()
          Exposes SCCP provider object to SCCP user.
 void setLinksets(java.util.List<org.mobicents.protocols.ss7.mtp.provider.MtpProvider> linksets)
          Assigns linksets.
 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,
                  org.mobicents.protocols.StartFailedException
Starts SCCP stack.

Throws:
java.lang.IllegalStateException
org.mobicents.protocols.StartFailedException

stop

void stop()
Terminates SCCP stack.

Throws:
java.lang.IllegalStateException
org.mobicents.protocols.StartFailedException

setLinksets

void setLinksets(java.util.List<org.mobicents.protocols.ss7.mtp.provider.MtpProvider> linksets)
Assigns linksets. Current versions suppose static assignment. For next versions implement link management functions.

Parameters:
linksets - the list of available linksets.

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 © 2010. All Rights Reserved.