Interface RemoteClient.ProxyControl

  • All Superinterfaces:
    org.refcodes.mixin.BusyAccessor, org.refcodes.mixin.Disposable, org.refcodes.mixin.Disposable.Disposedable, org.refcodes.mixin.DisposedAccessor, InstanceId, org.refcodes.mixin.InstanceIdAccessor, java.lang.reflect.InvocationHandler, org.refcodes.mixin.Lockable, ProxyAccessor
    Enclosing interface:
    RemoteClient

    public static interface RemoteClient.ProxyControl
    extends InstanceId, java.lang.reflect.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.BusyProperty
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.Disposable

        org.refcodes.mixin.Disposable.Disposedable
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.DisposedAccessor

        org.refcodes.mixin.DisposedAccessor.DisposedMutator, org.refcodes.mixin.DisposedAccessor.DisposedProperty
      • Nested 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.InstanceIdProperty
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void dispose()
      Dispose.
      InstanceDescriptor getClassDescriptor()
      Returns the class descriptor which has been used to create the Proxy object.
      boolean isBusy()
      Checks if is busy.
      void pushMethodReply​(Reply aMethodReply)
      Used to push a reply to a request.
      • Methods inherited from interface org.refcodes.mixin.DisposedAccessor

        isDisposed
      • Methods inherited from interface org.refcodes.mixin.InstanceIdAccessor

        getInstanceId
      • Methods inherited from interface java.lang.reflect.InvocationHandler

        invoke
      • Methods inherited from interface org.refcodes.mixin.Lockable

        isLocked, lock, unlock
    • Method Detail

      • 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

        void pushMethodReply​(Reply aMethodReply)
        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:
        isBusy in interface org.refcodes.mixin.BusyAccessor
        Returns:
        true, if is busy
      • dispose

        void dispose()
        Dispose.
        Specified by:
        dispose in interface org.refcodes.mixin.Disposable