rpcfy.MessageSender 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;
import java.io.IOException;
/**
* Sends the given message to the remote.
*/
public interface MessageSender {
/**
* Called to send given message to the other side of RPC.
*
* @throws IOException if message could not be sent.
*/
void sendMessage(T message) throws IOException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy