FileDocCategorySizeDatePackage
RPRequest.javaAPI DocAzureus 3.0.3.43167Tue Jan 10 13:47:42 GMT 2006org.gudy.azureus2.pluginsimpl.remote

RPRequest

public class RPRequest extends Object implements Serializable
author
parg

Fields Summary
public RPObject
object
public String
method
public Object[]
params
protected transient org.gudy.azureus2.plugins.PluginInterface
plugin_interface
protected transient org.gudy.azureus2.plugins.logging.LoggerChannel
channel
public long
connection_id
public long
request_id
protected transient String
client_ip
Constructors Summary
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();
        }
    
Methods Summary
public java.lang.StringgetClientIP()

        return( client_ip );
    
public longgetConnectionId()

        return( connection_id );
    
public java.lang.StringgetMethod()

        return( method );
    
public RPObjectgetObject()

        return( object );
    
public java.lang.Object[]getParams()

        return( params );
    
public org.gudy.azureus2.plugins.PluginInterfacegetPluginInterface()

        return this.plugin_interface;
    
public org.gudy.azureus2.plugins.logging.LoggerChannelgetRPLoggerChannel()

        return this.channel;
    
public longgetRequestId()

        return( request_id );
    
public java.lang.StringgetString()

        return( "object=" + object + ", method=" + method + ", params=" + params );
    
public voidsetClientIP(java.lang.String str)

        client_ip       = str;
    
public voidsetPluginInterface(org.gudy.azureus2.plugins.PluginInterface pi)

        this.plugin_interface = pi;
    
public voidsetRPLoggerChannel(org.gudy.azureus2.plugins.logging.LoggerChannel channel)

        this.channel = channel;