org.mobicents.media.server.impl.resource.ss7
Class M3UserAgent

java.lang.Object
  extended by org.mobicents.media.server.impl.resource.ss7.M3UserAgent
All Implemented Interfaces:
org.mobicents.protocols.ss7.mtp.MtpUser

public class M3UserAgent
extends java.lang.Object
implements org.mobicents.protocols.ss7.mtp.MtpUser

Author:
kulikov

Constructor Summary
M3UserAgent()
           
 
Method Summary
 void linkDown()
           
 void linkUp()
           
 void receive(byte[] arg0)
           
 void receive(byte sls, byte linksetId, int service, int subservice, byte[] msgBuff)
           
 void setChannels(java.util.List<org.mobicents.protocols.ss7.mtp.Mtp1> channels)
          Assigns signalling channels.
 void setDpc(int dpc)
          Assigns destination point code.
 void setName(java.lang.String name)
          Sets the name of the linkset.
 void setOpc(int opc)
          Assigns originated point code
 void setSelectorFactory(org.mobicents.protocols.ss7.mtp.SelectorFactory selectorFactory)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

M3UserAgent

public M3UserAgent()
Method Detail

setName

public void setName(java.lang.String name)
Sets the name of the linkset.

Parameters:
name - the alhanumeric name of the linkset.

setSelectorFactory

public void setSelectorFactory(org.mobicents.protocols.ss7.mtp.SelectorFactory selectorFactory)

setOpc

public void setOpc(int opc)
Assigns originated point code

Parameters:
opc - the value of the originated point code in decimal format

setDpc

public void setDpc(int dpc)
Assigns destination point code.

Parameters:
dpc - the destination point code value in decimal format.

setChannels

public void setChannels(java.util.List<org.mobicents.protocols.ss7.mtp.Mtp1> channels)
Assigns signalling channels.

Parameters:
channels - the list of available physical channels.

linkUp

public void linkUp()
Specified by:
linkUp in interface org.mobicents.protocols.ss7.mtp.MtpUser

linkDown

public void linkDown()
Specified by:
linkDown in interface org.mobicents.protocols.ss7.mtp.MtpUser

receive

public void receive(byte sls,
                    byte linksetId,
                    int service,
                    int subservice,
                    byte[] msgBuff)

start

public void start()
           throws java.io.IOException
Throws:
java.io.IOException

stop

public void stop()
          throws java.io.IOException
Throws:
java.io.IOException

receive

public void receive(byte[] arg0)
Specified by:
receive in interface org.mobicents.protocols.ss7.mtp.MtpUser


Copyright © 2010. All Rights Reserved.