JBoss Remoting 3 3.2.14.GA-redhat-1

org.jboss.remoting3.spi
Interface ConnectionProviderContext


public interface ConnectionProviderContext

A context for a connection provider. This provides additional endpoint methods to connection providers which are not accessible otherwise.


Method Summary
 void accept(ConnectionHandlerFactory connectionHandlerFactory)
          Accept a connection that was received by the corresponding protocol handler.
 Endpoint getEndpoint()
          Get the endpoint.
 Executor getExecutor()
          Get an executor usable for running asynchronous tasks.
 org.xnio.Xnio getXnio()
          Get the XNIO instance.
 org.xnio.XnioWorker getXnioWorker()
          Get the XNIO worker to use for network operations.
 

Method Detail

accept

void accept(ConnectionHandlerFactory connectionHandlerFactory)
Accept a connection that was received by the corresponding protocol handler.

Parameters:
connectionHandlerFactory - the connection handler factory

getEndpoint

Endpoint getEndpoint()
Get the endpoint.

Returns:
the endpoint

getXnio

org.xnio.Xnio getXnio()
Get the XNIO instance.

Returns:
the XNIO instance

getExecutor

Executor getExecutor()
Get an executor usable for running asynchronous tasks.

Returns:
the executor

getXnioWorker

org.xnio.XnioWorker getXnioWorker()
Get the XNIO worker to use for network operations.

Returns:
the XNIO worker

JBoss Remoting 3 3.2.14.GA-redhat-1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.