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