rpcfy.annotations.RPCfyNotSupported 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.annotations;
import rpcfy.RPCMethodDelegate;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.CLASS;
/**
* Marks a method within an interface marked as @{@link RPCfy} as not supporting RPC
*
* A call to this method will result in {@link rpcfy.RPCNotSupportedException} getting thrown.
*
* To selectively handle specific methods locally instead of being RPCfied, use {@link rpcfy.JsonRPCMessageHandler#addMethodDelegate(RPCMethodDelegate)}
*
* @see RPCfy
*/
@Retention(CLASS)
@Target(METHOD)
public @interface RPCfyNotSupported {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy