com.kuka.comm
Interface MessageHandler<M>

Type Parameters:
M - The message-type for this handler.

public interface MessageHandler<M>

Interface to react on incoming messages.


Method Summary
 void handle(Connection connection, M message)
          handle will be called whenever a massage of type M arrives at the handler.
 

Method Detail

handle

void handle(Connection connection,
            M message)
handle will be called whenever a massage of type M arrives at the handler.

Parameters:
connection - The connection receiving data.
message - The received message.


Copyright © 2019. All rights reserved.