Interface ManagementChannelAssociation

  • All Known Implementing Classes:
    ManagementChannelHandler

    public interface ManagementChannelAssociation
    Associates a remoting Channel to a management client.
    Author:
    Emanuel Muckenhuber
    • Method Detail

      • executeRequest

        <T,​A> ActiveOperation<T,​A> executeRequest​(ManagementRequest<T,​A> request,
                                                              A attachment)
                                                       throws IOException
        Execute a management request.
        Type Parameters:
        T - the result type
        A - the attachment type
        Parameters:
        request - the request
        attachment - the attachment
        Returns:
        the created active operation
        Throws:
        IOException
      • executeRequest

        <T,​A> org.jboss.threads.AsyncFuture<T> executeRequest​(Integer operationId,
                                                                    ManagementRequest<T,​A> request)
                                                             throws IOException
        Execute a request based on an existing active operation.
        Type Parameters:
        T - the request type
        A - the attachment type
        Parameters:
        operationId - the operation-id of the existing active operation
        request - the request
        Returns:
        the future result
        Throws:
        IOException
      • executeRequest

        <T,​A> org.jboss.threads.AsyncFuture<T> executeRequest​(ActiveOperation<T,​A> operation,
                                                                    ManagementRequest<T,​A> request)
                                                             throws IOException
        Execute a request based on an existing active operation.
        Type Parameters:
        T - the result type
        A - the attachment type
        Parameters:
        operation - the active operation
        request - the request
        Returns:
        the future result
        Throws:
        IOException
      • getChannel

        org.jboss.remoting3.Channel getChannel()
                                        throws IOException
        Get the underlying remoting channel associated with this context.
        Returns:
        the channel
        Throws:
        IOException
      • getAttachments

        org.jboss.remoting3.Attachments getAttachments()
        Get the attachments object that can be used to share state between users of this object.
        Returns:
        the attachments