public class UdpConnector.UdpConnection extends java.lang.Object implements SipConnection
| Constructor and Description |
|---|
UdpConnection(java.net.InetSocketAddress address) |
| Modifier and Type | Method and Description |
|---|---|
SipConnector |
getConnector() |
java.net.InetAddress |
getLocalAddress() |
int |
getLocalPort() |
java.net.InetAddress |
getRemoteAddress() |
int |
getRemotePort() |
Transport |
getTransport() |
boolean |
isOpen() |
void |
process(java.nio.ByteBuffer buffer) |
void |
send(SipMessage message) |
void |
send(SipMessage message,
boolean ignoreMtu) |
void |
write(java.nio.ByteBuffer buffer) |
public SipConnector getConnector()
getConnector in interface SipConnectionpublic Transport getTransport()
getTransport in interface SipConnectionpublic java.net.InetAddress getRemoteAddress()
getRemoteAddress in interface SipConnectionpublic int getRemotePort()
getRemotePort in interface SipConnectionpublic java.net.InetAddress getLocalAddress()
getLocalAddress in interface SipConnectionpublic int getLocalPort()
getLocalPort in interface SipConnectionpublic void send(SipMessage message) throws MessageTooLongException
send in interface SipConnectionMessageTooLongExceptionpublic void send(SipMessage message, boolean ignoreMtu) throws MessageTooLongException
MessageTooLongExceptionpublic void write(java.nio.ByteBuffer buffer)
throws java.io.IOException
write in interface SipConnectionjava.io.IOExceptionpublic void process(java.nio.ByteBuffer buffer)
throws java.io.IOException
java.io.IOExceptionpublic boolean isOpen()
isOpen in interface SipConnectionCopyright © 2015. All Rights Reserved.