Package apple.network.enums
Class nw_ethernet_channel_state_t
- java.lang.Object
-
- apple.network.enums.nw_ethernet_channel_state_t
-
public final class nw_ethernet_channel_state_t extends java.lang.Object[@typedef] nw_ethernet_channel_state_t Channel states sent by nw_ethernet_channel_set_state_changed_handler. States generally progress forward and do not move backwards, with the exception of preparing and waiting, which may alternate before the channel becomes ready or failed.
-
-
Field Summary
Fields Modifier and Type Field Description static intnw_ethernet_channel_state_cancelled[@const] nw_ethernet_channel_state_cancelled The channel has been cancelled by the callerstatic intnw_ethernet_channel_state_failed[@const] nw_ethernet_channel_state_failed The channel has irrecoverably closed or failedstatic intnw_ethernet_channel_state_invalid[@const] nw_ethernet_channel_state_invalid The state of the channel is not valid.static intnw_ethernet_channel_state_preparing[@const] nw_ethernet_channel_state_preparing The channel is in the process of establishingstatic intnw_ethernet_channel_state_ready[@const] nw_ethernet_channel_state_ready The channel is established and ready to send and receive datastatic intnw_ethernet_channel_state_waiting[@const] nw_ethernet_channel_state_waiting The channel is waiting for a usable network before re-attempting
-
-
-
Field Detail
-
nw_ethernet_channel_state_invalid
public static final int nw_ethernet_channel_state_invalid
[@const] nw_ethernet_channel_state_invalid The state of the channel is not valid. This state will never be delivered in the channel's state update handler, and can be treated as an unexpected value.- See Also:
- Constant Field Values
-
nw_ethernet_channel_state_waiting
public static final int nw_ethernet_channel_state_waiting
[@const] nw_ethernet_channel_state_waiting The channel is waiting for a usable network before re-attempting- See Also:
- Constant Field Values
-
nw_ethernet_channel_state_preparing
public static final int nw_ethernet_channel_state_preparing
[@const] nw_ethernet_channel_state_preparing The channel is in the process of establishing- See Also:
- Constant Field Values
-
nw_ethernet_channel_state_ready
public static final int nw_ethernet_channel_state_ready
[@const] nw_ethernet_channel_state_ready The channel is established and ready to send and receive data- See Also:
- Constant Field Values
-
nw_ethernet_channel_state_failed
public static final int nw_ethernet_channel_state_failed
[@const] nw_ethernet_channel_state_failed The channel has irrecoverably closed or failed- See Also:
- Constant Field Values
-
nw_ethernet_channel_state_cancelled
public static final int nw_ethernet_channel_state_cancelled
[@const] nw_ethernet_channel_state_cancelled The channel has been cancelled by the caller- See Also:
- Constant Field Values
-
-