1 7 package org.jboss.remoting.transport; 8 9 import org.jboss.remoting.ConnectionFailedException; 10 import org.jboss.remoting.InvocationRequest; 11 import org.jboss.remoting.Invoker; 12 import org.jboss.remoting.InvokerLocator; 13 import org.jboss.remoting.marshal.Marshaller; 14 import org.jboss.remoting.marshal.UnMarshaller; 15 16 22 public interface ClientInvoker extends Invoker 23 { 24 33 public void addClientLocator(String listenerId, InvokerLocator locator); 34 35 41 public InvokerLocator getClientLocator(String listenerId); 42 43 50 public Object invoke(InvocationRequest in) throws Throwable ; 51 52 60 public boolean isConnected(); 61 62 68 public void connect() throws ConnectionFailedException; 69 70 73 public void disconnect(); 74 75 public void setMarshaller(Marshaller marshaller); 76 77 public Marshaller getMarshaller(); 78 79 public void setUnMarshaller(UnMarshaller unmarshaller); 80 81 public UnMarshaller getUnMarshaller(); 82 } | Popular Tags |