Errai 3.0.1-SNAPSHOT

org.jboss.errai.bus.client.framework
Class AbstractRpcProxy

java.lang.Object
  extended by org.jboss.errai.bus.client.framework.AbstractRpcProxy
All Implemented Interfaces:
RpcStub

public abstract class AbstractRpcProxy
extends Object
implements RpcStub

Base class of all RPC proxies managed by the shared RemoteServiceProxyFactory. The concrete implementations of this class are generated at compile time.

Author:
Christian Sadilek

Field Summary
protected  RpcBatch batch
           
protected  ErrorCallback errorCallback
           
protected  Annotation[] qualifiers
           
protected  RemoteCallback remoteCallback
           
 
Constructor Summary
AbstractRpcProxy()
           
 
Method Summary
protected  void invokeDefaultErrorHandlers(Throwable throwable)
           
 void sendRequest(MessageBus bus, RemoteCallSendable sendable)
           
 void setBatch(RpcBatch batch)
           
 void setErrorCallback(ErrorCallback errorCallback)
           
 void setQualifiers(Annotation[] qualifiers)
           
 void setRemoteCallback(RemoteCallback remoteCallback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

remoteCallback

protected RemoteCallback remoteCallback

errorCallback

protected ErrorCallback errorCallback

qualifiers

protected Annotation[] qualifiers

batch

protected RpcBatch batch
Constructor Detail

AbstractRpcProxy

public AbstractRpcProxy()
Method Detail

setErrorCallback

public void setErrorCallback(ErrorCallback errorCallback)
Specified by:
setErrorCallback in interface RpcStub

setRemoteCallback

public void setRemoteCallback(RemoteCallback remoteCallback)
Specified by:
setRemoteCallback in interface RpcStub

setQualifiers

public void setQualifiers(Annotation[] qualifiers)
Specified by:
setQualifiers in interface RpcStub

setBatch

public void setBatch(RpcBatch batch)
Specified by:
setBatch in interface RpcStub

sendRequest

public void sendRequest(MessageBus bus,
                        RemoteCallSendable sendable)

invokeDefaultErrorHandlers

protected void invokeDefaultErrorHandlers(Throwable throwable)

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.