|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.media.server.impl.resource.zap.MTPUser
public class MTPUser
| Constructor Summary | |
|---|---|
MTPUser()
|
|
| Method Summary | |
|---|---|
void |
cancel()
|
int |
getDpc()
|
java.lang.String |
getLocalAddress()
|
int |
getLocalPort()
|
java.lang.String |
getName()
Gets the name of the linkset. |
int |
getOpc()
|
java.lang.String |
getRemoteAddress()
|
int |
getRemotePort()
|
boolean |
isActive()
|
void |
linkDown()
|
void |
linkUp()
|
void |
onStateChange(org.mobicents.protocols.link.LinkState state)
|
int |
perform()
|
void |
receive(byte[] data)
|
void |
setChannels(java.util.List<org.mobicents.protocols.ss7.mtp.Mtp1> channels)
Assigns signalling channels. |
void |
setDpc(int dpc)
Assigns destination point code. |
void |
setLocalAddress(java.lang.String address)
|
void |
setLocalPort(int port)
|
void |
setName(java.lang.String name)
Sets the name of the linkset. |
void |
setOpc(int opc)
Assigns originated point code |
void |
setRemoteAddress(java.lang.String address)
|
void |
setRemotePort(int port)
|
void |
start()
Activates link set. |
void |
stop()
Deactivates linkset. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MTPUser()
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - the alhanumeric name of the linkset.public void setOpc(int opc)
opc - the value of the originated point code in decimal formatpublic void setDpc(int dpc)
dpc - the destination point code value in decimal format.public int getOpc()
public int getDpc()
public void setLocalAddress(java.lang.String address)
public java.lang.String getLocalAddress()
public void setLocalPort(int port)
public int getLocalPort()
public void setRemoteAddress(java.lang.String address)
public java.lang.String getRemoteAddress()
public void setRemotePort(int port)
public int getRemotePort()
public void setChannels(java.util.List<org.mobicents.protocols.ss7.mtp.Mtp1> channels)
channels - the list of available physical channels.
public void start()
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundExceptionpublic void stop()
public void cancel()
cancel in interface org.mobicents.media.server.spi.clock.Taskpublic boolean isActive()
isActive in interface org.mobicents.media.server.spi.clock.Taskpublic int perform()
perform in interface org.mobicents.media.server.spi.clock.Taskpublic void linkUp()
linkUp in interface org.mobicents.protocols.ss7.mtp.Mtp3Listenerpublic void linkDown()
linkDown in interface org.mobicents.protocols.ss7.mtp.Mtp3Listenerpublic void receive(byte[] data)
receive in interface org.mobicents.protocols.ss7.mtp.Mtp3Listenerpublic void onStateChange(org.mobicents.protocols.link.LinkState state)
onStateChange in interface org.mobicents.protocols.link.LinkStateListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||