public class DirectLink extends java.lang.Object implements NetworkLink
Constructor and Description |
---|
DirectLink(SctpSocket a,
SctpSocket b) |
Modifier and Type | Method and Description |
---|---|
void |
onConnOut(SctpSocket s,
byte[] packet)
Callback triggered by SctpSocket whenever it wants to send some
network packet.
|
public DirectLink(SctpSocket a, SctpSocket b)
public void onConnOut(SctpSocket s, byte[] packet) throws java.io.IOException
onConnOut
in interface NetworkLink
s
- source SctpSocket instance.packet
- network packet buffer.java.io.IOException
- in case of transport error.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.