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.


Method Summary
 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.
 

Method Detail

send

void send(Message message)
Sends a message to the other end of the connection.


send

void send(int channel,
          Message message)
Sends a message to the other end of the connection using the specified alternate channel.