public interface SipTransportConnection
Modifier and Type | Method and Description |
---|---|
long |
getLastTimeMillis()
Gets the last time the TransportConn has been used (in millisconds).
|
IpAddress |
getLocalAddress()
Gets the local IpAddress.
|
int |
getLocalPort()
Gets the local port.
|
java.lang.String |
getProtocol()
Gets protocol type.
|
IpAddress |
getRemoteAddress()
Gets the remote IpAddress.
|
int |
getRemotePort()
Gets the remote port.
|
void |
halt()
Stops and closes the connection.
|
void |
sendMessage(SipMessage msg)
Sends a SipMessage.
|
void |
setListener(SipTransportConnectionListener listener)
Sets the SipTransportConnection listener.
|
void setListener(SipTransportConnectionListener listener)
java.lang.String getProtocol()
IpAddress getRemoteAddress()
int getRemotePort()
IpAddress getLocalAddress()
int getLocalPort()
long getLastTimeMillis()
void sendMessage(SipMessage msg) throws java.io.IOException
java.io.IOException
void halt()