public class SctpNotification
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
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
};
|
static class |
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];
};
|
static class |
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;
};
|
static class |
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
};
|
static class |
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[];
};
|
Modifier and Type | Field and Description |
---|---|
protected java.nio.ByteBuffer |
buffer |
static int |
SCTP_ADAPTATION_INDICATION |
static int |
SCTP_ASSOC_CHANGE
Notifications
|
static int |
SCTP_ASSOC_RESET_EVENT |
static int |
SCTP_AUTHENTICATION_EVENT |
static int |
SCTP_NOTIFICATIONS_STOPPED_EVENT |
static int |
SCTP_PARTIAL_DELIVERY_EVENT |
static int |
SCTP_PEER_ADDR_CHANGE |
static int |
SCTP_REMOTE_ERROR |
static int |
SCTP_SEND_FAILED |
static int |
SCTP_SEND_FAILED_EVENT |
static int |
SCTP_SENDER_DRY_EVENT
When the SCTP implementation has no user data anymore to send or
retransmit this notification is given to the user.
|
static int |
SCTP_SHUTDOWN_EVENT |
static int |
SCTP_STREAM_CHANGE_EVENT |
static int |
SCTP_STREAM_RESET_EVENT |
int |
sn_flags |
int |
sn_length |
int |
sn_type |
Modifier and Type | Method and Description |
---|---|
static SctpNotification |
parse(byte[] data) |
java.lang.String |
toString() |
public static final int SCTP_ASSOC_CHANGE
public static final int SCTP_PEER_ADDR_CHANGE
public static final int SCTP_REMOTE_ERROR
public static final int SCTP_SEND_FAILED
public static final int SCTP_SHUTDOWN_EVENT
public static final int SCTP_ADAPTATION_INDICATION
public static final int SCTP_PARTIAL_DELIVERY_EVENT
public static final int SCTP_AUTHENTICATION_EVENT
public static final int SCTP_STREAM_RESET_EVENT
public static final int SCTP_SENDER_DRY_EVENT
public static final int SCTP_NOTIFICATIONS_STOPPED_EVENT
public static final int SCTP_ASSOC_RESET_EVENT
public static final int SCTP_STREAM_CHANGE_EVENT
public static final int SCTP_SEND_FAILED_EVENT
public final int sn_type
public final int sn_flags
public final int sn_length
protected final java.nio.ByteBuffer buffer
public java.lang.String toString()
toString
in class java.lang.Object
public static SctpNotification parse(byte[] data)
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.