|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.net.DatagramSocket java.net.MulticastSocket memetic.crypto.EncryptedRTPSocket
public class EncryptedRTPSocket
An Encrpyted RTP Datagram Socket
Constructor Summary | |
---|---|
EncryptedRTPSocket(RTPCrypt crypt,
java.net.InetAddress addr,
int port)
Creates a new EncryptedRTPSocket bound to the specified port |
|
EncryptedRTPSocket(RTPCrypt crypt,
java.net.InetAddress addr,
int port,
boolean isRTP)
Creates a new EncryptedRTPSocket bound to the specified port |
|
EncryptedRTPSocket(RTPCrypt crypt,
int port)
Creates a new EncryptedRTPSocket bound to the specified port |
|
EncryptedRTPSocket(RTPCrypt crypt,
int port,
boolean isRTP)
Creates a new EncryptedRTPSocket bound to the specified port |
Method Summary | |
---|---|
void |
receive(java.net.DatagramPacket p)
|
void |
send(java.net.DatagramPacket p)
|
void |
setEncryption(RTPCrypt crypt)
Sets the current encryption on the socket |
Methods inherited from class java.net.MulticastSocket |
---|
getInterface, getLoopbackMode, getNetworkInterface, getTimeToLive, getTTL, joinGroup, joinGroup, leaveGroup, leaveGroup, send, setInterface, setLoopbackMode, setNetworkInterface, setTimeToLive, setTTL |
Methods inherited from class java.net.DatagramSocket |
---|
bind, close, connect, connect, disconnect, getBroadcast, getChannel, getInetAddress, getLocalAddress, getLocalPort, getLocalSocketAddress, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoTimeout, getTrafficClass, isBound, isClosed, isConnected, setBroadcast, setDatagramSocketImplFactory, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSoTimeout, setTrafficClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptedRTPSocket(RTPCrypt crypt, int port) throws java.io.IOException
crypt
- The encryption or null for noneport
- The port to bind to (RTP if even, RTCP if odd)
java.io.IOException
public EncryptedRTPSocket(RTPCrypt crypt, java.net.InetAddress addr, int port, boolean isRTP) throws java.io.IOException
crypt
- The encryption or null for noneport
- The port to bind to (RTP if even, RTCP if odd)isRTP
- True if the port is RTP, false if it is RTCP
java.io.IOException
public EncryptedRTPSocket(RTPCrypt crypt, java.net.InetAddress addr, int port) throws java.io.IOException
crypt
- The encryption or null for noneport
- The port to bind to (RTP if even, RTCP if odd)
java.io.IOException
public EncryptedRTPSocket(RTPCrypt crypt, int port, boolean isRTP) throws java.io.IOException
crypt
- The encryption or null for noneport
- The port to bind to (RTP if even, RTCP if odd)isRTP
- True if the port is RTP, false if it is RTCP
java.io.IOException
Method Detail |
---|
public void send(java.net.DatagramPacket p) throws java.io.IOException
send
in class java.net.DatagramSocket
java.io.IOException
DatagramSocket.send(java.net.DatagramPacket)
public void receive(java.net.DatagramPacket p) throws java.io.IOException
receive
in class java.net.DatagramSocket
java.io.IOException
DatagramSocket.receive(java.net.DatagramPacket)
public void setEncryption(RTPCrypt crypt)
crypt
- The encryption algorithm, or null for none
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |