public class SCTPTransportServer extends Object
Modifier and Type | Field and Description |
---|---|
protected InetSocketAddress |
destAddress |
protected InetSocketAddress |
origAddress |
Constructor and Description |
---|
SCTPTransportServer() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
InetSocketAddress |
getDestAddress() |
org.mobicents.protocols.api.Management |
getManagement() |
InetSocketAddress |
getOrigAddress() |
SCTPServerConnection |
getParent() |
void |
release() |
void |
sendMessage(ByteBuffer bytes) |
void |
setDestAddress(InetSocketAddress address) |
void |
setManagement(org.mobicents.protocols.api.Management management) |
void |
setOrigAddress(InetSocketAddress address) |
void |
startNewRemoteConnection(org.mobicents.protocols.api.Server server,
org.mobicents.protocols.api.Association association,
String peerAddress,
int peerPort) |
void |
startServer() |
void |
stop() |
protected InetSocketAddress destAddress
protected InetSocketAddress origAddress
public SCTPServerConnection getParent()
public org.mobicents.protocols.api.Management getManagement()
public void setManagement(org.mobicents.protocols.api.Management management)
public void startNewRemoteConnection(org.mobicents.protocols.api.Server server, org.mobicents.protocols.api.Association association, String peerAddress, int peerPort)
public void startServer() throws NotInitializedException
NotInitializedException
public InetSocketAddress getDestAddress()
public void setDestAddress(InetSocketAddress address)
public void setOrigAddress(InetSocketAddress address)
public InetSocketAddress getOrigAddress()
public void sendMessage(ByteBuffer bytes) throws IOException
IOException
Copyright © 2016. All Rights Reserved.