Alachisoft.NCache.Common.RPCFramework.TargetMethodAttribute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nc-common Show documentation
Show all versions of nc-common Show documentation
Internal package of Alachisoft.
package Alachisoft.NCache.Common.RPCFramework;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Identifies
*/
//C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes:
//[AttributeUsage(AttributeTargets.Method)]
@Target(value = {ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface TargetMethodAttribute {
//
// public TargetMethodAttribute(String methodName)
// {
// super();
// this.setMethod(methodName);
// this.setOverload(1);
// }
//
// public TargetMethodAttribute(String methodName, int overload)
// {
// super();
// this.setMethod(methodName);
// this.setOverload(overload);
// }
/**
* Gets/Sets the Name of the target method to be invoked by remote client
*/
public String privateMethod();
/**
* Gets/Sets the overload number of an overloaded method to be invoked by remote client
*/
public int privateOverload();
}