public interface NetworkLink
SctpSocket
for sending network packets.
FIXME: introduce offset and length parameters in order to be able to
re-use single buffer instanceModifier and Type | Method and Description |
---|---|
void |
onConnOut(SctpSocket s,
byte[] packet)
Callback triggered by SctpSocket whenever it wants to send some
network packet.
|
void onConnOut(SctpSocket s, byte[] packet) throws java.io.IOException
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.