1 9 package org.jboss.remoting; 10 11 import java.util.List ; 12 13 20 public interface ClientInterceptor 21 { 22 23 boolean isConnected (InvokerLocator locator) throws Exception ; 24 25 void connect (InvokerLocator locator) throws Exception ; 26 27 void disconnect (InvokerLocator locator) throws Exception ; 28 29 30 41 Object invoke (InvocationRequest invocation) 42 throws Throwable ; 43 44 52 void addListener(InvokerLocator locator, String sessionId, InvokerCallbackHandler callbackHandler) throws Throwable ; 53 54 60 void removeListener(InvokerLocator locator, String sessionId, InvokerCallbackHandler callbackHandler) throws Throwable ; 61 62 List getCallbacks(InvokerLocator locator, String sessionId) throws Throwable ; 63 64 } 65 | Popular Tags |