public final class UdpConnection extends AbstractConnection
Constructor and Description |
---|
UdpConnection(io.netty.channel.Channel channel,
java.net.InetSocketAddress remoteAddress) |
Modifier and Type | Method and Description |
---|---|
boolean |
connect() |
boolean |
isUDP()
Check whether or not this
Connection is using UDP as its
underlying transport protocol. |
void |
send(io.pkts.packet.sip.SipMessage msg)
Send a message over this connection.
|
channel, getLocalIpAddress, getLocalPort, getRawLocalIpAddress, getRawRemoteIpAddress, getRemoteAddress, getRemoteIpAddress, getRemotePort, isSCTP, isTCP, isTLS, isWS, toByteBuf
public UdpConnection(io.netty.channel.Channel channel, java.net.InetSocketAddress remoteAddress)
public boolean isUDP()
Connection
is using UDP as its
underlying transport protocol.isUDP
in interface Connection
isUDP
in class AbstractConnection
public void send(io.pkts.packet.sip.SipMessage msg)
public boolean connect()
Copyright © 2015. All Rights Reserved.