📄 rprequest.java
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space
// Source File Name: RPRequest.java
package org.gudy.azureus2.pluginsimpl.remote;
import java.io.Serializable;
import org.gudy.azureus2.plugins.PluginInterface;
import org.gudy.azureus2.plugins.logging.LoggerChannel;
// Referenced classes of package org.gudy.azureus2.pluginsimpl.remote:
// RPObject, RPPluginInterface, RPRequestDispatcher
public class RPRequest
implements Serializable
{
public RPObject object;
public String method;
public Object params[];
protected transient PluginInterface plugin_interface;
protected transient LoggerChannel channel;
public long connection_id;
public long request_id;
protected transient String client_ip;
public RPRequest()
{
}
public RPRequest(RPObject _object, String _method, Object _params[])
{
object = _object;
method = _method;
params = _params;
if (object != null)
{
RPPluginInterface pi = object.getDispatcher().getPlugin();
connection_id = pi._getConectionId();
request_id = pi._getNextRequestId();
plugin_interface = (PluginInterface)pi._getDelegate();
}
}
public void setClientIP(String str)
{
client_ip = str;
}
public String getClientIP()
{
return client_ip;
}
public long getConnectionId()
{
return connection_id;
}
public long getRequestId()
{
return request_id;
}
public String getString()
{
return (new StringBuilder()).append("object=").append(object).append(", method=").append(method).append(", params=").append(((Object) (params))).toString();
}
public RPObject getObject()
{
return object;
}
public String getMethod()
{
return method;
}
public Object[] getParams()
{
return params;
}
public PluginInterface getPluginInterface()
{
return plugin_interface;
}
public void setPluginInterface(PluginInterface pi)
{
plugin_interface = pi;
}
public LoggerChannel getRPLoggerChannel()
{
return channel;
}
public void setRPLoggerChannel(LoggerChannel channel)
{
this.channel = channel;
}
public RPPluginInterface createRemotePluginInterface(PluginInterface pi)
{
return RPPluginInterface.create(pi);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -