org.mobicents.protocols.ss7.sccp
Interface SccpProvider


public interface SccpProvider

Author:
Oleg Kulikov, baranowb

Method Summary
 void addSccpListener(SccpListener listener)
          Sets sccp listener
 void configure(java.util.Properties p)
           
 SccpParameterFactory getSccpParameterFactory()
          Parameter factory instance.
 SccpUnitDataFactory getUnitDataFactory()
          UnitData factory instance.
 void removeSccpListener(SccpListener listener)
          Removes listener
 void send(SccpAddress calledParty, SccpAddress callingParty, byte[] data, org.mobicents.protocols.ss7.mtp.RoutingLabel ar)
          Send sccp byte[] to desired addres.
 

Method Detail

addSccpListener

void addSccpListener(SccpListener listener)
Sets sccp listener

Parameters:
listener -

removeSccpListener

void removeSccpListener(SccpListener listener)
Removes listener


send

void send(SccpAddress calledParty,
          SccpAddress callingParty,
          byte[] data,
          org.mobicents.protocols.ss7.mtp.RoutingLabel ar)
          throws java.io.IOException
Send sccp byte[] to desired addres.

Parameters:
calledParty - - destination address of this message
callingParty - - local address
data - - byte[] encoded of sccp parameters
ar - - reference with mtp3 routing label
Throws:
java.io.IOException

getUnitDataFactory

SccpUnitDataFactory getUnitDataFactory()
UnitData factory instance.

Returns:

getSccpParameterFactory

SccpParameterFactory getSccpParameterFactory()
Parameter factory instance.

Returns:

configure

void configure(java.util.Properties p)
               throws org.mobicents.protocols.ConfigurationException
Throws:
org.mobicents.protocols.ConfigurationException


Copyright © 2010. All Rights Reserved.