Class ProxyServerActor

    • Constructor Detail

      • ProxyServerActor

        public ProxyServerActor​(java.lang.String name,
                                Strand strand,
                                MailboxConfig mailboxConfig,
                                boolean callOnVoidMethods,
                                java.lang.Object target,
                                java.lang.Class<?>[] interfaces)
        Creates a new ProxyServerActor
        Parameters:
        name - the actor's name (may be null)
        strand - the actor's strand (may be null)
        mailboxConfig - this actor's mailbox settings.
        callOnVoidMethods - whether calling void methods will block until they have completed execution
        target - the object implementing the actor's behaviors, on which the exposed interface methods will be called.
        interfaces - the interfaces this actor's ActorRef will implement; target must implement all these interfaces.
      • ProxyServerActor

        public ProxyServerActor​(java.lang.String name,
                                MailboxConfig mailboxConfig,
                                boolean callOnVoidMethods,
                                java.lang.Object target,
                                java.lang.Class<?>... interfaces)
        Creates a new ProxyServerActor
        Parameters:
        name - the actor's name (may be null)
        mailboxConfig - this actor's mailbox settings.
        callOnVoidMethods - whether calling void methods will block until they have completed execution
        target - the object implementing the actor's behaviors, on which the exposed interface methods will be called.
        interfaces - the interfaces this actor's ActorRef will implement; target must implement all these interfaces.
      • ProxyServerActor

        public ProxyServerActor​(java.lang.String name,
                                boolean callOnVoidMethods,
                                java.lang.Object target,
                                java.lang.Class<?>... interfaces)
        Creates a new ProxyServerActor with the default mailbox settings.
        Parameters:
        name - the actor's name (may be null)
        callOnVoidMethods - whether calling void methods will block until they have completed execution
        target - the object implementing the actor's behaviors, on which the exposed interface methods will be called.
        interfaces - the interfaces this actor's ActorRef will implement; target must implement all these interfaces.
      • ProxyServerActor

        public ProxyServerActor​(MailboxConfig mailboxConfig,
                                boolean callOnVoidMethods,
                                java.lang.Object target,
                                java.lang.Class<?>... interfaces)
        Creates a new ProxyServerActor
        Parameters:
        mailboxConfig - this actor's mailbox settings.
        callOnVoidMethods - whether calling void methods will block until they have completed execution
        target - the object implementing the actor's behaviors, on which the exposed interface methods will be called.
        interfaces - the interfaces this actor's ActorRef will implement; target must implement all these interfaces.
      • ProxyServerActor

        public ProxyServerActor​(boolean callOnVoidMethods,
                                java.lang.Object target,
                                java.lang.Class<?>... interfaces)
        Creates a new ProxyServerActor with the default mailbox settings.
        Parameters:
        callOnVoidMethods - whether calling void methods will block until they have completed execution
        target - the object implementing the actor's behaviors, on which the exposed interface methods will be called.
        interfaces - the interfaces this actor's ActorRef will implement; target must implement all these interfaces.
      • ProxyServerActor

        public ProxyServerActor​(java.lang.String name,
                                MailboxConfig mailboxConfig,
                                boolean callOnVoidMethods,
                                java.lang.Object target)
        Creates a new ProxyServerActor, which exposes all interfaces implemented by the given target.
        Parameters:
        name - the actor's name (may be null)
        mailboxConfig - this actor's mailbox settings.
        callOnVoidMethods - whether calling void methods will block until they have completed execution
        target - the object implementing the actor's behaviors, on which the exposed interface methods will be called.
      • ProxyServerActor

        public ProxyServerActor​(java.lang.String name,
                                boolean callOnVoidMethods,
                                java.lang.Object target)
        Creates a new ProxyServerActor with the default mailbox settings, which exposes all interfaces implemented by the given target.
        Parameters:
        name - the actor's name (may be null)
        callOnVoidMethods - whether calling void methods will block until they have completed execution
        target - the object implementing the actor's behaviors, on which the exposed interface methods will be called.
      • ProxyServerActor

        public ProxyServerActor​(MailboxConfig mailboxConfig,
                                boolean callOnVoidMethods,
                                java.lang.Object target)
        Creates a new ProxyServerActor, which exposes all interfaces implemented by the given target.
        Parameters:
        mailboxConfig - this actor's mailbox settings.
        callOnVoidMethods - whether calling void methods will block until they have completed execution
        target - the object implementing the actor's behaviors, on which the exposed interface methods will be called.
      • ProxyServerActor

        public ProxyServerActor​(boolean callOnVoidMethods,
                                java.lang.Object target)
        Creates a new ProxyServerActor with the default mailbox settings, which exposes all interfaces implemented by the given target.
        Parameters:
        callOnVoidMethods - whether calling void methods will block until they have completed execution
        target - the object implementing the actor's behaviors, on which the exposed interface methods will be called.
      • ProxyServerActor

        protected ProxyServerActor​(java.lang.String name,
                                   MailboxConfig mailboxConfig,
                                   boolean callOnVoidMethods,
                                   java.lang.Class<?>... interfaces)
        This constructor is for use by subclasses that are intended to serve as the target. This object will serve as the target for the method calls.
        Parameters:
        name - the actor's name (may be null)
        mailboxConfig - this actor's mailbox settings.
        callOnVoidMethods - whether calling void methods will block until they have completed execution
        interfaces - the interfaces this actor's ActorRef will implement; this class must implement all these interfaces.
      • ProxyServerActor

        protected ProxyServerActor​(java.lang.String name,
                                   boolean callOnVoidMethods,
                                   java.lang.Class<?>... interfaces)
        This constructor is for use by subclasses that are intended to serve as the target. This object will serve as the target for the method calls. The default mailbox settings will be used.
        Parameters:
        name - the actor's name (may be null)
        callOnVoidMethods - whether calling void methods will block until they have completed execution
        interfaces - the interfaces this actor's ActorRef will implement; this class must implement all these interfaces.
      • ProxyServerActor

        protected ProxyServerActor​(MailboxConfig mailboxConfig,
                                   boolean callOnVoidMethods,
                                   java.lang.Class<?>... interfaces)
        This constructor is for use by subclasses that are intended to serve as the target. This object will serve as the target for the method calls. The default mailbox settings will be used.
        Parameters:
        callOnVoidMethods - whether calling void methods will block until they have completed execution
        interfaces - the interfaces this actor's ActorRef will implement; this class must implement all these interfaces.
      • ProxyServerActor

        protected ProxyServerActor​(boolean callOnVoidMethods,
                                   java.lang.Class<?>... interfaces)
        This constructor is for use by subclasses that are intended to serve as the target. This object will serve as the target for the method calls. The default mailbox settings will be used.
        Parameters:
        callOnVoidMethods - whether calling void methods will block until they have completed execution
        interfaces - the interfaces this actor's ActorRef will implement; this class must implement all these interfaces.
      • ProxyServerActor

        protected ProxyServerActor​(java.lang.String name,
                                   MailboxConfig mailboxConfig,
                                   boolean callOnVoidMethods)
        This constructor is for use by subclasses that are intended to serve as the target. This object will serve as the target for the method calls, and all of the interfaces implemented by the subclass will be exposed by the ActorRef.
        Parameters:
        name - the actor's name (may be null)
        mailboxConfig - this actor's mailbox settings.
        callOnVoidMethods - whether calling void methods will block until they have completed execution
      • ProxyServerActor

        protected ProxyServerActor​(java.lang.String name,
                                   boolean callOnVoidMethods)
        This constructor is for use by subclasses that are intended to serve as the target. This object will serve as the target for the method calls, and all of the interfaces implemented by the subclass will be exposed by the ActorRef. The default mailbox settings will be used.
        Parameters:
        name - the actor's name (may be null)
        callOnVoidMethods - whether calling void methods will block until they have completed execution
      • ProxyServerActor

        protected ProxyServerActor​(MailboxConfig mailboxConfig,
                                   boolean callOnVoidMethods)
        This constructor is for use by subclasses that are intended to serve as the target. This object will serve as the target for the method calls, and all of the interfaces implemented by the subclass will be exposed by the ActorRef.
        Parameters:
        mailboxConfig - this actor's mailbox settings.
        callOnVoidMethods - whether calling void methods will block until they have completed execution
      • ProxyServerActor

        protected ProxyServerActor​(boolean callOnVoidMethods)
        This constructor is for use by subclasses that are intended to serve as the target. This object will serve as the target for the method calls, and all of the interfaces implemented by the subclass will be exposed by the ActorRef. The default mailbox settings will be used.
        Parameters:
        callOnVoidMethods - whether calling void methods will block until they have completed execution