Package com.jme3.network
Interface MessageConnection
- All Known Subinterfaces:
- Client,- HostedConnection,- NetworkClient
- All Known Implementing Classes:
- DefaultClient,- DefaultServer.Connection,- Network.NetworkClientImpl
public interface MessageConnection
The source of a received message and the common abstract interface
  of client->server and server->client objects.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intIndicates the default reliable channel that is used when calling the channel-less send() with a reliable message.static final intIndicates the default unreliable channel that is used when calling the channel-less send() with a reliable=false message.
- 
Method Summary
- 
Field Details- 
CHANNEL_DEFAULT_RELIABLEstatic final int CHANNEL_DEFAULT_RELIABLEIndicates the default reliable channel that is used when calling the channel-less send() with a reliable message. This channel number can be used in the send(channel, msg) version of send.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. - See Also:
 
- 
CHANNEL_DEFAULT_UNRELIABLEstatic final int CHANNEL_DEFAULT_UNRELIABLEIndicates the default unreliable channel that is used when calling the channel-less send() with a reliable=false message. This channel number can be used in the send(channel, msg) version of send.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. - See Also:
 
 
- 
- 
Method Details- 
sendSends a message to the other end of the connection.
- 
sendSends a message to the other end of the connection using the specified alternate channel.
 
-