public interface MessageConnection
Modifier and Type | Field and Description |
---|---|
static int |
CHANNEL_DEFAULT_RELIABLE
Indicates the default reliable channel that is used
when calling the channel-less send() with a reliable
message.
|
static int |
CHANNEL_DEFAULT_UNRELIABLE
Indicates the default unreliable channel that is used
when calling the channel-less send() with a reliable=false
message.
|
Modifier and Type | Method and Description |
---|---|
void |
send(int channel,
Message message)
Sends a message to the other end of the connection using
the specified alternate channel.
|
void |
send(Message message)
Sends a message to the other end of the connection.
|
static final int CHANNEL_DEFAULT_RELIABLE
Normally, callers should just call the regular non-channel send message but these channel numbers are useful for extensions that allow the user to specify a channel and want to still support the default channels.
static final int CHANNEL_DEFAULT_UNRELIABLE
Normally, callers should just call the regular non-channel send message but these channel numbers are useful for extensions that allow the user to specify a channel and want to still support the default channels.