- All Superinterfaces:
org.refcodes.mixin.BusyAccessor,org.refcodes.mixin.Disposable,org.refcodes.mixin.Disposable.Disposedable,org.refcodes.mixin.DisposedAccessor,InstanceId,org.refcodes.mixin.InstanceIdAccessor,InvocationHandler,org.refcodes.mixin.Lockable,ProxyAccessor
- Enclosing interface:
- RemoteClient
public static interface RemoteClient.ProxyControl extends InstanceId, InvocationHandler, org.refcodes.mixin.Lockable, org.refcodes.mixin.Disposable.Disposedable, ProxyAccessor, org.refcodes.mixin.BusyAccessor
The
RemoteClient.ProxyControl is used to manage a proxy being provided from a
subject be the RemoteServer. This is an inner interface as it is
just required by one implementation internally; in comparison other
interface's implementations are required by at leat two different
implementations (e.g. client and server).-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.BusyAccessor
org.refcodes.mixin.BusyAccessor.BusyMutator, org.refcodes.mixin.BusyAccessor.BusyPropertyNested classes/interfaces inherited from interface org.refcodes.mixin.Disposable
org.refcodes.mixin.Disposable.DisposedableNested classes/interfaces inherited from interface org.refcodes.mixin.DisposedAccessor
org.refcodes.mixin.DisposedAccessor.DisposedMutator, org.refcodes.mixin.DisposedAccessor.DisposedPropertyNested classes/interfaces inherited from interface org.refcodes.mixin.InstanceIdAccessor
org.refcodes.mixin.InstanceIdAccessor.InstanceIdBuilder<B extends org.refcodes.mixin.InstanceIdAccessor.InstanceIdBuilder<B>>, org.refcodes.mixin.InstanceIdAccessor.InstanceIdMutator, org.refcodes.mixin.InstanceIdAccessor.InstanceIdPropertyNested classes/interfaces inherited from interface org.refcodes.remoting.ProxyAccessor
ProxyAccessor.ProxyBuilder<B extends ProxyAccessor.ProxyBuilder<B>>, ProxyAccessor.ProxyMutator, ProxyAccessor.ProxyProperty -
Method Summary
Modifier and Type Method Description voiddispose()Dispose.InstanceDescriptorgetClassDescriptor()Returns the class descriptor which has been used to create the Proxy object.booleanisBusy()Checks if is busy.voidpushMethodReply(Reply aMethodReply)Used to push a reply to a request.Methods inherited from interface org.refcodes.mixin.DisposedAccessor
isDisposedMethods inherited from interface org.refcodes.mixin.InstanceIdAccessor
getInstanceIdMethods inherited from interface java.lang.reflect.InvocationHandler
invokeMethods inherited from interface org.refcodes.mixin.Lockable
isLocked, lock, unlockMethods inherited from interface org.refcodes.remoting.ProxyAccessor
getProxy
-
Method Details
-
getClassDescriptor
InstanceDescriptor getClassDescriptor()Returns the class descriptor which has been used to create the Proxy object.- Returns:
- An object of type BlueprintClassDescriptor which has been used to generate the Proxy object.
-
pushMethodReply
Used to push a reply to a request.- Parameters:
aMethodReply- An object of type BlueprintMethodReply used to encapsulate a reply from a method call.
-
isBusy
boolean isBusy()Checks if is busy.- Specified by:
isBusyin interfaceorg.refcodes.mixin.BusyAccessor- Returns:
- true, if is busy
-
dispose
void dispose()Dispose.- Specified by:
disposein interfaceorg.refcodes.mixin.Disposable
-