com.googlecode.mobilityrpc.network.impl
Interface IncomingMessageHandler

All Known Subinterfaces:
MobilityControllerInternal
All Known Implementing Classes:
MobilityControllerImpl

public interface IncomingMessageHandler

An internal interface, implemented by objects which can accept and process a serialized protocol message (byte array) received from a remote machine.

Author:
Niall Gallagher

Method Summary
 void receiveIncomingMessage(ConnectionId connectionId, byte[] serializedMessage)
          Supplies the message to the handler for it to be processed.
 

Method Detail

receiveIncomingMessage

void receiveIncomingMessage(ConnectionId connectionId,
                            byte[] serializedMessage)
Supplies the message to the handler for it to be processed.

Parameters:
connectionId - Identifies the connection from which the message was received
serializedMessage - The message to supply


Copyright © 2016. All rights reserved.