Class DefaultServer.Redispatch
java.lang.Object
com.jme3.network.base.DefaultServer.Redispatch
- All Implemented Interfaces:
MessageListener<HostedConnection>
- Enclosing class:
DefaultServer
protected class DefaultServer.Redispatch
extends Object
implements MessageListener<HostedConnection>
Bridges kernel adapter callbacks back into the server.
- Author:
- Paul Speed
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmessageReceived(HostedConnection source, Message m) Called when a message is received from a source.
-
Constructor Details
-
Redispatch
public Redispatch()Creates the redispatch bridge.
-
-
Method Details
-
messageReceived
Description copied from interface:MessageListenerCalled when a message is received from a source.- Specified by:
messageReceivedin interfaceMessageListener<HostedConnection>- Parameters:
source- the connection or endpoint that delivered the messagem- the received message
-