marquee.xmlrpc.processors
Class AllowInvocationProcessor

java.lang.Object
  extended by marquee.xmlrpc.processors.FilterInvocationProcessor
      extended by marquee.xmlrpc.processors.AllowInvocationProcessor
All Implemented Interfaces:
XmlRpcInvocationProcessor

public class AllowInvocationProcessor
extends FilterInvocationProcessor

Author:
hoepffr To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Constructor Summary
AllowInvocationProcessor()
           
 
Method Summary
 boolean preProcess(int callId, java.lang.String callerIp, java.lang.String handler, java.lang.String method, java.util.List arguments)
          Examines the caller IP and the method to see if the invocation should be performed.
 
Methods inherited from class marquee.xmlrpc.processors.FilterInvocationProcessor
addFilters, addFiltersByName, onException, postProcess
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllowInvocationProcessor

public AllowInvocationProcessor()
Method Detail

preProcess

public boolean preProcess(int callId,
                          java.lang.String callerIp,
                          java.lang.String handler,
                          java.lang.String method,
                          java.util.List arguments)
Description copied from class: FilterInvocationProcessor
Examines the caller IP and the method to see if the invocation should be performed.

Specified by:
preProcess in interface XmlRpcInvocationProcessor
Overrides:
preProcess in class FilterInvocationProcessor
Parameters:
callId - A sequence number for tracing calls between preProcess() and postProcess() calls. This is unique within each session. That is, the sequence is restarted when the application restarts.
handler - The name of the handler being called.
method - The name of the method being called.
arguments - The arguments that will be sent to the method.
Returns:
true if the invocation should proceed, or false if not.
See Also:
XmlRpcInvocationProcessor.preProcess(int, java.lang.String, java.lang.String, java.lang.String, java.util.List)