Interface | Description |
---|---|
NetworkLink |
Interface used by
SctpSocket for sending network packets. |
SctpDataCallback |
Callback used to listen for incoming data on SCTP socket.
|
SctpSocket.NotificationListener |
Interface used to listen for SCTP notifications on specific socket.
|
Class | Description |
---|---|
DirectLink |
A direct connection that passes packets between two SctpSocket
instances.
|
SampleClient |
Sample SCTP client that uses UDP socket for transfers.
|
SampleLoop |
Sample that uses two SctpSockets with
DirectLink . |
SampleServer |
Sample SCTP server that uses UDP socket for transfers.
|
Sctp |
Class encapsulates native SCTP counterpart.
|
SctpNotification |
Partially implemented SCTP notifications for which the native wrapper
currently registers for.
|
SctpNotification.AssociationChange |
Association change event
struct sctp_assoc_change {
uint16_t sac_type;
uint16_t sac_flags;
uint32_t sac_length;
uint16_t sac_state;
uint16_t sac_error;
uint16_t sac_outbound_streams;
uint16_t sac_inbound_streams;
sctp_assoc_t sac_assoc_id; //uint32_t
uint8_t sac_info[]; // not available yet
};
|
SctpNotification.PeerAddressChange |
Address event
struct sctp_paddr_change {
uint16_t spc_type;
uint16_t spc_flags;
uint32_t spc_length;
struct sockaddr_storage spc_aaddr;
uint32_t spc_state;
uint32_t spc_error;
sctp_assoc_t spc_assoc_id; //uint32_t
uint8_t spc_padding[4];
};
|
SctpNotification.SenderDry |
SCTP sender dry event
struct sctp_sender_dry_event {
uint16_t sender_dry_type;
uint16_t sender_dry_flags;
uint32_t sender_dry_length;
sctp_assoc_t sender_dry_assoc_id;
};
|
SctpNotification.SendFailed |
SCTP send failed event
struct sctp_send_failed_event {
uint16_t ssfe_type;
uint16_t ssfe_flags;
uint32_t ssfe_length;
uint32_t ssfe_error;
struct sctp_sndinfo ssfe_info;
sctp_assoc_t ssfe_assoc_id;
uint8_t ssfe_data[];
};
struct sctp_sndinfo {
uint16_t snd_sid;
uint16_t snd_flags;
uint32_t snd_ppid;
uint32_t snd_context;
sctp_assoc_t snd_assoc_id; // uint32
};
|
SctpNotification.StreamReset |
Stream reset event
struct sctp_stream_reset_event {
uint16_t strreset_type;
uint16_t strreset_flags;
uint32_t strreset_length;
sctp_assoc_t strreset_assoc_id;
uint16_t strreset_stream_list[];
};
|
SctpSocket |
SCTP socket implemented using "usrsctp" lib.
|
UdpLink |
Class used in code samples to send SCTP packets through UDP sockets.
|
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.