|
|
|
@ -12,12 +12,14 @@ public class RpcRequest implements Serializable{
|
|
|
|
|
|
|
|
|
|
private String serverAddress;
|
|
|
|
|
private long createMillisTime;
|
|
|
|
|
private String accessToken;
|
|
|
|
|
|
|
|
|
|
private String className;
|
|
|
|
|
private String methodName;
|
|
|
|
|
private Class<?>[] parameterTypes;
|
|
|
|
|
private Object[] parameters;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getServerAddress() {
|
|
|
|
|
return serverAddress;
|
|
|
|
|
}
|
|
|
|
@ -29,41 +31,62 @@ public class RpcRequest implements Serializable{
|
|
|
|
|
public long getCreateMillisTime() {
|
|
|
|
|
return createMillisTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setCreateMillisTime(long createMillisTime) {
|
|
|
|
|
this.createMillisTime = createMillisTime;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getAccessToken() {
|
|
|
|
|
return accessToken;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setAccessToken(String accessToken) {
|
|
|
|
|
this.accessToken = accessToken;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getClassName() {
|
|
|
|
|
return className;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setClassName(String className) {
|
|
|
|
|
this.className = className;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getMethodName() {
|
|
|
|
|
return methodName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setMethodName(String methodName) {
|
|
|
|
|
this.methodName = methodName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Class<?>[] getParameterTypes() {
|
|
|
|
|
return parameterTypes;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setParameterTypes(Class<?>[] parameterTypes) {
|
|
|
|
|
this.parameterTypes = parameterTypes;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Object[] getParameters() {
|
|
|
|
|
return parameters;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setParameters(Object[] parameters) {
|
|
|
|
|
this.parameters = parameters;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String toString() {
|
|
|
|
|
return "NettyRequest [serverAddress=" + serverAddress + ", createMillisTime="
|
|
|
|
|
+ createMillisTime + ", className=" + className
|
|
|
|
|
+ ", methodName=" + methodName + ", parameterTypes="
|
|
|
|
|
+ Arrays.toString(parameterTypes) + ", parameters="
|
|
|
|
|
+ Arrays.toString(parameters) + "]";
|
|
|
|
|
return "RpcRequest{" +
|
|
|
|
|
"serverAddress='" + serverAddress + '\'' +
|
|
|
|
|
", createMillisTime=" + createMillisTime +
|
|
|
|
|
", accessToken='" + accessToken + '\'' +
|
|
|
|
|
", className='" + className + '\'' +
|
|
|
|
|
", methodName='" + methodName + '\'' +
|
|
|
|
|
", parameterTypes=" + Arrays.toString(parameterTypes) +
|
|
|
|
|
", parameters=" + Arrays.toString(parameters) +
|
|
|
|
|
'}';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|