rpcfy.MessageReceiver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rpcfy-annotations Show documentation
Show all versions of rpcfy-annotations Show documentation
RPCfy upgrades your normal java interface to be capable of doing RPC (Remote Procedure Call).
package rpcfy;
/**
* Processes a given message of given type.
*
* {@link JsonRPCMessageHandler} is a {@link MessageReceiver} for String type
*
* @see JsonRPCMessageHandler
*/
public interface MessageReceiver {
/**
* Called to processes given message
*/
void onMessage(T message);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy