Uses of Interface
com.sun.grizzly.Connection

Packages that use Connection
com.sun.grizzly   
com.sun.grizzly.asyncqueue   
com.sun.grizzly.filterchain   
com.sun.grizzly.nio   
com.sun.grizzly.nio.tmpselectors   
com.sun.grizzly.nio.transport   
com.sun.grizzly.ssl   
com.sun.grizzly.strategies   
com.sun.grizzly.streams   
com.sun.grizzly.utils   
 

Uses of Connection in com.sun.grizzly
 

Methods in com.sun.grizzly that return Connection
 Connection SocketBinder.bind(int port)
          Binds Transport to the specific port on localhost.
 Connection SocketBinder.bind(SocketAddress socketAddress)
          Binds Transport to the specific SocketAddress.
 Connection SocketBinder.bind(SocketAddress socketAddress, int backlog)
          Binds Transport to the specific SocketAddress.
 Connection SocketBinder.bind(String host, int port)
          Binds Transport to the specific host and port.
 Connection SocketBinder.bind(String host, int port, int backlog)
          Binds Transport to the specific host and port.
 Connection Context.getConnection()
          Get the processing Connection.
 Connection Result.getConnection()
          Get Connection, associated with the result.
 Connection ReadResult.getConnection()
          Get the Connection data were read from.
 Connection ProcessorRunnable.getConnection()
          Get the processing Connection.
 Connection WriteResult.getConnection()
          Get the Connection data were read from.
 

Methods in com.sun.grizzly that return types with arguments of type Connection
 Future<Connection> SocketAcceptor.accept()
          Accept a Connection
 Future<Connection> AbstractSocketConnectorHandler.connect(SocketAddress remoteAddress)
           
 Future<Connection> SocketConnectorHandler.connect(SocketAddress remoteAddress)
          Creates, initializes and connects socket to the specific SocketAddress and returns Connection, representing socket.
abstract  Future<Connection> AbstractSocketConnectorHandler.connect(SocketAddress remoteAddress, SocketAddress localAddress)
           
 Future<Connection> SocketConnectorHandler.connect(SocketAddress remoteAddress, SocketAddress localAddress)
          Creates, initializes socket, binds it to the specific local and remote SocketAddress and returns Connection, representing socket.
 Future<Connection> AbstractSocketConnectorHandler.connect(String host, int port)
           
 Future<Connection> SocketConnectorHandler.connect(String host, int port)
          Creates, initializes and connects socket to the specific remote host and port and returns Connection, representing socket.
 

Methods in com.sun.grizzly with parameters of type Connection
 void CompletionHandler.cancelled(Connection connection)
          The I/O operation on the Connection was cancelled.
 void CompletionHandlerAdapter.cancelled(Connection connection)
          The I/O operation on the Connection was cancelled.
protected abstract  void AbstractTransport.closeConnection(Connection connection)
          Close the connection, managed by Transport
 void CompletionHandler.completed(Connection connection, E result)
          The I/O operation on the Connection was completed.
 void CompletionHandlerAdapter.completed(Connection connection, E result)
          The I/O operation on the Connection was completed.
 void CompletionHandler.failed(Connection connection, Throwable throwable)
          The I/O operation on the Connection was failed.
 void CompletionHandlerAdapter.failed(Connection connection, Throwable throwable)
          The I/O operation on the Connection was failed.
 void Transport.fireIOEvent(IOEvent ioEvent, Connection connection)
          Fires specific IOEvent on the Connection
 void AbstractTransport.fireIOEvent(IOEvent ioEvent, Connection connection)
          Fires specific IOEvent on the Connection
 void Transport.fireIOEvent(IOEvent ioEvent, Connection connection, Object strategyContext)
          Fires specific IOEvent on the Connection
 E Strategy.prepare(Connection connection, IOEvent ioEvent)
          Prepare Strategy for processing IOEvent, occured on the Connection.
 Future<ReadResult<Buffer,L>> AbstractReader.read(Connection connection)
          Method reads data.
 Future<ReadResult<Buffer,L>> Reader.read(Connection connection)
          Method reads data.
 Future<ReadResult<Buffer,L>> AbstractReader.read(Connection connection, Buffer buffer)
          Method reads data to the buffer.
 Future<ReadResult<Buffer,L>> Reader.read(Connection connection, Buffer buffer)
          Method reads data to the buffer.
 Future<ReadResult<Buffer,L>> AbstractReader.read(Connection connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,L>> completionHandler)
          Method reads data to the buffer.
 Future<ReadResult<Buffer,L>> Reader.read(Connection connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,L>> completionHandler)
          Method reads data to the buffer.
 Future<ReadResult<Buffer,L>> Reader.read(Connection connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,L>> completionHandler, Interceptor<ReadResult> interceptor)
          Method reads data to the buffer.
 Processor StandaloneProcessorSelector.select(IOEvent ioEvent, Connection connection)
          Always return null, which means no Processor was found to process IOEvent.
 Processor ChainProcessorSelector.select(IOEvent ioEvent, Connection connection)
          Selects Processor, which will process connection event.
 Processor DefaultProcessorSelector.select(IOEvent ioEvent, Connection connection)
          Selects Processor, which will process connection event.
 Processor ProcessorSelector.select(IOEvent ioEvent, Connection connection)
          Selects Processor, which will process connection event.
 void Context.setConnection(Connection connection)
          Set the processing Connection.
 void ProcessorRunnable.setConnection(Connection connection)
          Set the processing Connection.
 void SocketBinder.unbind(Connection connection)
          Unbinds bound Transport connection.
 void CompletionHandler.updated(Connection connection, E result)
          The callback method may be called, when there is some progress in I/O operation execution, but it is still not completed
 void CompletionHandlerAdapter.updated(Connection connection, E result)
          The callback method may be called, when there is some progress in I/O operation execution, but it is still not completed
 Future<WriteResult<Buffer,L>> Writer.write(Connection connection, Buffer buffer)
          Method writes the buffer.
 Future<WriteResult<Buffer,L>> AbstractWriter.write(Connection connection, Buffer buffer)
          Method writes the buffer.
 Future<WriteResult<Buffer,L>> Writer.write(Connection connection, Buffer buffer, CompletionHandler<WriteResult<Buffer,L>> completionHandler)
          Method writes the buffer.
 Future<WriteResult<Buffer,L>> AbstractWriter.write(Connection connection, Buffer buffer, CompletionHandler<WriteResult<Buffer,L>> completionHandler)
          Method writes the buffer.
 Future<WriteResult<Buffer,L>> Writer.write(Connection connection, Buffer buffer, CompletionHandler<WriteResult<Buffer,L>> completionHandler, Interceptor<WriteResult> interceptor)
          Method writes the buffer.
 Future<WriteResult<Buffer,L>> AbstractWriter.write(Connection connection, Buffer buffer, CompletionHandler<WriteResult<Buffer,L>> completionHandler, Interceptor<WriteResult> interceptor)
          Method writes the buffer.
 Future<WriteResult<Buffer,L>> Writer.write(Connection connection, L dstAddress, Buffer buffer)
          Method writes the buffer to the specific address.
 Future<WriteResult<Buffer,L>> AbstractWriter.write(Connection connection, L dstAddress, Buffer buffer)
          Method writes the buffer to the specific address.
 Future<WriteResult<Buffer,L>> Writer.write(Connection connection, L dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,L>> completionHandler)
          Method writes the buffer to the specific address.
 Future<WriteResult<Buffer,L>> AbstractWriter.write(Connection connection, L dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,L>> completionHandler)
          Method writes the buffer to the specific address.
 Future<WriteResult<Buffer,L>> Writer.write(Connection connection, L dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,L>> completionHandler, Interceptor<WriteResult> interceptor)
          Method writes the buffer to the specific address.
 

Constructors in com.sun.grizzly with parameters of type Connection
ProcessorRunnable(IOEvent ioEvent, Connection connection, Processor processor, PostProcessor postProcessor)
           
ReadResult(Connection connection)
           
ReadResult(Connection connection, K message, L srcAddress, int readSize)
           
WriteResult(Connection connection)
           
WriteResult(Connection connection, K message, L dstAddress, int writeSize)
           
 

Uses of Connection in com.sun.grizzly.asyncqueue
 

Methods in com.sun.grizzly.asyncqueue with parameters of type Connection
 E MessageCloner.clone(Connection connection, E originalByteBuffer)
          Method will be called by AsyncQueueWriter, when message could not be written directly, and will be added to the queue.
 boolean AsyncQueueProcessor.isReady(Connection connection)
          Checks whether there is ready data in AsyncQueue, associated with the Connection.
 void AsyncQueueProcessor.onClose(Connection connection)
          Callback method, which is called, when Connection has been closed, to let processor release a connection associated resources.
 void AsyncQueueProcessor.processAsync(Connection connection)
          Callback method, which is called async.
 Processor AsyncQueueProcessorSelector.select(IOEvent ioEvent, Connection connection)
          Returns asynchronous queue Processor if required
 Future<WriteResult<Buffer,L>> AsyncQueueWriter.write(Connection connection, L dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,L>> completionHandler, Interceptor<WriteResult> interceptor, MessageCloner<Buffer> cloner)
          Method writes the Buffer to the specific address.
 

Uses of Connection in com.sun.grizzly.filterchain
 

Methods in com.sun.grizzly.filterchain with parameters of type Connection
 Processor FilterChainProcessorSelector.select(IOEvent ioEvent, Connection connection)
          Returns FilterChain instance, if it's interested in processing passed IOEvent, or null otherwise.
 

Uses of Connection in com.sun.grizzly.nio
 

Subinterfaces of Connection in com.sun.grizzly.nio
 interface NIOConnection
           
 

Classes in com.sun.grizzly.nio that implement Connection
 class AbstractNIOConnection
          Common Connection implementation for Java NIO Connections.
 

Methods in com.sun.grizzly.nio with parameters of type Connection
protected abstract  void AbstractNIOTransport.closeConnection(Connection connection)
           
protected  int AbstractNIOAsyncQueueReader.doRead(Connection connection, ReadResult currentResult, Buffer message)
          Performs real read on the NIO channel
protected
<E> void
AbstractNIOAsyncQueueWriter.doWrite(Connection connection, WriteResult currentResult, CompletionHandler completionHandler, SocketAddress dstAddress, Buffer buffer)
          Performs real write on the NIO channel
protected  void AbstractNIOAsyncQueueReader.failReadRecord(Connection connection, AsyncReadQueueRecord record, IOException e)
           
protected  void AbstractNIOAsyncQueueWriter.failWriteRecord(Connection connection, AsyncWriteQueueRecord record, Throwable e)
           
 boolean AbstractNIOAsyncQueueReader.isReady(Connection connection)
          Checks whether there is ready data in AsyncQueue, associated with the Connection.
 boolean AbstractNIOAsyncQueueWriter.isReady(Connection connection)
          Checks whether there is ready data in AsyncQueue, associated with the Connection.
 void AbstractNIOAsyncQueueReader.onClose(Connection connection)
          Callback method, which is called, when Connection has been closed, to let processor release a connection associated resources.
 void AbstractNIOAsyncQueueWriter.onClose(Connection connection)
          Callback method, which is called, when Connection has been closed, to let processor release a connection associated resources.
protected  void AbstractNIOAsyncQueueReader.onReadCompleted(Connection connection, AsyncReadQueueRecord record)
           
protected  void AbstractNIOAsyncQueueReader.onReadFailure(Connection connection, AsyncReadQueueRecord failedRecord, IOException e)
           
protected  void AbstractNIOAsyncQueueReader.onReadIncompleted(Connection connection, AsyncReadQueueRecord record)
           
protected abstract  void AbstractNIOAsyncQueueReader.onReadyToRead(Connection connection)
           
protected abstract  void AbstractNIOAsyncQueueWriter.onReadyToWrite(Connection connection)
           
protected  void AbstractNIOAsyncQueueWriter.onWriteCompleted(Connection connection, AsyncWriteQueueRecord<?> record)
           
protected  void AbstractNIOAsyncQueueWriter.onWriteFailure(Connection connection, AsyncWriteQueueRecord failedRecord, IOException e)
           
protected  void AbstractNIOAsyncQueueWriter.onWriteIncompleted(Connection connection, AsyncWriteQueueRecord<?> record)
           
 void AbstractNIOAsyncQueueReader.processAsync(Connection connection)
          Callback method, which is called async.
 void AbstractNIOAsyncQueueWriter.processAsync(Connection connection)
          Callback method, which is called async.
 Future<ReadResult<Buffer,SocketAddress>> AbstractNIOAsyncQueueReader.read(Connection connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor)
          Method reads data to the buffer.
protected abstract  int AbstractNIOAsyncQueueReader.read0(Connection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult)
           
 Future<WriteResult<Buffer,SocketAddress>> AbstractNIOAsyncQueueWriter.write(Connection connection, SocketAddress dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler, Interceptor<WriteResult> interceptor)
          Method writes the buffer to the specific address.
 Future<WriteResult<Buffer,SocketAddress>> AbstractNIOAsyncQueueWriter.write(Connection connection, SocketAddress dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler, Interceptor<WriteResult> interceptor, MessageCloner<Buffer> cloner)
          Method writes the Buffer to the specific address.
protected abstract  int AbstractNIOAsyncQueueWriter.write0(Connection connection, SocketAddress dstAddress, Buffer buffer, WriteResult<Buffer,SocketAddress> currentResult)
           
 

Uses of Connection in com.sun.grizzly.nio.tmpselectors
 

Methods in com.sun.grizzly.nio.tmpselectors with parameters of type Connection
protected  Buffer TemporarySelectorReader.acquireBuffer(Connection connection)
           
 Future<ReadResult<Buffer,SocketAddress>> TemporarySelectorReader.read(Connection connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor)
          Method reads data to the buffer.
 Future<ReadResult<Buffer,SocketAddress>> TemporarySelectorReader.read(Connection connection, Buffer buffer, CompletionHandler<ReadResult<Buffer,SocketAddress>> completionHandler, Interceptor<ReadResult> interceptor, long timeout, TimeUnit timeunit)
          Method reads data to the message.
protected  int TemporarySelectorReader.read0(Connection connection, ReadResult currentResult, Buffer buffer, long timeout, TimeUnit timeunit)
           
protected abstract  int TemporarySelectorReader.readNow0(Connection connection, Buffer buffer, ReadResult currentResult)
           
 Future<WriteResult<Buffer,SocketAddress>> TemporarySelectorWriter.write(Connection connection, SocketAddress dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler, Interceptor<WriteResult> interceptor)
          Method writes the buffer to the specific address.
 Future<WriteResult<Buffer,SocketAddress>> TemporarySelectorWriter.write(Connection connection, SocketAddress dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler, Interceptor<WriteResult> interceptor, long timeout, TimeUnit timeunit)
          Method writes the message to the specific address.
protected  int TemporarySelectorWriter.write0(Connection connection, SocketAddress dstAddress, Buffer buffer, WriteResult currentResult, long timeout, TimeUnit timeunit)
          Flush the buffer by looping until the Buffer is empty
protected abstract  int TemporarySelectorWriter.writeNow0(Connection connection, SocketAddress dstAddress, Buffer buffer, WriteResult currentResult)
           
 

Uses of Connection in com.sun.grizzly.nio.transport
 

Classes in com.sun.grizzly.nio.transport that implement Connection
 class TCPNIOConnection
          Connection implementation for the TCPNIOTransport
 class TCPNIOServerConnection
           
 class UDPNIOConnection
          Connection implementation for the UDPNIOTransport
 class UDPNIOServerConnection
          Server Connection implementation for the UDPNIOTransport
 

Methods in com.sun.grizzly.nio.transport that return types with arguments of type Connection
 Future<Connection> TCPNIOServerConnection.accept()
          Accept a Connection
protected  Future<Connection> TCPNIOServerConnection.acceptAsync()
          Asynchronously accept a Connection
 Future<Connection> UDPNIOConnectorHandler.connect()
          Creates non-connected UDP Connection.
 Future<Connection> UDPNIOTransport.connect()
          Creates non-connected UDP Connection.
 Future<Connection> TCPNIOTransport.connect(SocketAddress remoteAddress)
           
 Future<Connection> UDPNIOTransport.connect(SocketAddress remoteAddress)
           
 Future<Connection> TCPNIOTransport.connect(SocketAddress remoteAddress, SocketAddress localAddress)
           
 Future<Connection> TCPNIOConnectorHandler.connect(SocketAddress remoteAddress, SocketAddress localAddress)
           
 Future<Connection> UDPNIOConnectorHandler.connect(SocketAddress remoteAddress, SocketAddress localAddress)
           
 Future<Connection> UDPNIOTransport.connect(SocketAddress remoteAddress, SocketAddress localAddress)
           
 Future<Connection> TCPNIOTransport.connect(String host, int port)
           
 Future<Connection> UDPNIOTransport.connect(String host, int port)
           
protected  Future<Connection> TCPNIOConnectorHandler.connectAsync(SocketAddress remoteAddress, SocketAddress localAddress)
           
protected  Future<Connection> UDPNIOConnectorHandler.connectAsync(SocketAddress remoteAddress, SocketAddress localAddress)
           
protected  Future<Connection> TCPNIOConnectorHandler.connectSync(SocketAddress remoteAddress, SocketAddress localAddress)
           
protected  Future<Connection> UDPNIOConnectorHandler.connectSync(SocketAddress remoteAddress, SocketAddress localAddress)
           
 

Methods in com.sun.grizzly.nio.transport with parameters of type Connection
protected  void UDPNIOAsyncQueueReader.addRecord(Connection connection, Buffer buffer, CompletionHandler completionHandler, Interceptor<ReadResult> interceptor)
           
protected  void TCPNIOAsyncQueueReader.addRecord(Connection connection, Buffer buffer, CompletionHandler completionHandler, Interceptor<ReadResult> interceptor)
           
protected  void TCPNIOTransport.closeConnection(Connection connection)
           
protected  void UDPNIOTransport.closeConnection(Connection connection)
           
 void TCPNIOTransport.RegisterChannelCompletionHandler.completed(Connection c, RegisterChannelResult result)
           
 void TCPNIOServerConnection.RegisterAcceptedChannelCompletionHandler.completed(Connection c, RegisterChannelResult result)
           
 void UDPNIOTransport.RegisterChannelCompletionHandler.completed(Connection c, RegisterChannelResult result)
           
protected  void TCPNIOTransport.executeProcessor(IOEvent ioEvent, Connection connection, Processor processor, ProcessorExecutor executor, PostProcessor postProcessor, Object strategyContext)
           
protected  void UDPNIOTransport.executeProcessor(IOEvent ioEvent, Connection connection, Processor processor, ProcessorExecutor executor, PostProcessor postProcessor, Object strategyContext)
           
 void TCPNIOTransport.fireIOEvent(IOEvent ioEvent, Connection connection, Object strategyContext)
           
 void UDPNIOTransport.fireIOEvent(IOEvent ioEvent, Connection connection, Object strategyContext)
           
protected  void UDPNIOAsyncQueueReader.onReadyToRead(Connection connection)
           
protected  void TCPNIOAsyncQueueReader.onReadyToRead(Connection connection)
           
protected  void TCPNIOAsyncQueueWriter.onReadyToWrite(Connection connection)
           
protected  void UDPNIOAsyncQueueWriter.onReadyToWrite(Connection connection)
           
 int TCPNIOTransport.read(Connection connection, Buffer buffer)
           
 int UDPNIOTransport.read(Connection connection, Buffer buffer)
           
 int TCPNIOTransport.read(Connection connection, Buffer buffer, ReadResult currentResult)
           
 int UDPNIOTransport.read(Connection connection, Buffer buffer, ReadResult currentResult)
           
protected  int UDPNIOAsyncQueueReader.read0(Connection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult)
           
protected  int TCPNIOAsyncQueueReader.read0(Connection connection, Buffer buffer, ReadResult<Buffer,SocketAddress> currentResult)
           
protected  int TCPNIOTemporarySelectorReader.readNow0(Connection connection, Buffer buffer, ReadResult currentResult)
           
protected  int UDPNIOTemporarySelectorReader.readNow0(Connection connection, Buffer buffer, ReadResult currentResult)
           
 Processor TCPNIOServerConnection.AcceptorEventProcessorSelector.select(IOEvent ioEvent, Connection connection)
           
 void TCPNIOTransport.unbind(Connection connection)
          Unbinds bound Transport connection.
 void UDPNIOTransport.unbind(Connection connection)
          Unbinds bound Transport connection.
 int TCPNIOTransport.write(Connection connection, Buffer buffer)
           
 int TCPNIOTransport.write(Connection connection, Buffer buffer, WriteResult currentResult)
           
 int UDPNIOTransport.write(Connection connection, SocketAddress dstAddress, Buffer buffer)
           
 Future<WriteResult<Buffer,SocketAddress>> TCPNIOAsyncQueueWriter.write(Connection connection, SocketAddress dstAddress, Buffer buffer, CompletionHandler<WriteResult<Buffer,SocketAddress>> completionHandler, Interceptor<WriteResult> interceptor, MessageCloner<Buffer> cloner)
           
 int UDPNIOTransport.write(Connection connection, SocketAddress dstAddress, Buffer buffer, WriteResult currentResult)
           
protected  int TCPNIOAsyncQueueWriter.write0(Connection connection, SocketAddress dstAddress, Buffer buffer, WriteResult<Buffer,SocketAddress> currentResult)
           
protected  int UDPNIOAsyncQueueWriter.write0(Connection connection, SocketAddress dstAddress, Buffer buffer, WriteResult<Buffer,SocketAddress> currentResult)
           
protected  int TCPNIOTemporarySelectorWriter.writeNow0(Connection connection, SocketAddress dstAddress, Buffer buffer, WriteResult currentResult)
           
protected  int UDPNIOTemporarySelectorWriter.writeNow0(Connection connection, SocketAddress dstAddress, Buffer buffer, WriteResult currentResult)
           
 

Constructor parameters in com.sun.grizzly.nio.transport with type arguments of type Connection
TCPNIOConnectorHandler.ConnectorEventProcessor(FutureImpl<Connection> future)
           
 

Uses of Connection in com.sun.grizzly.ssl
 

Methods in com.sun.grizzly.ssl with parameters of type Connection
 Future<SSLEngine> SSLCodec.handshake(Connection connection)
           
 Future<SSLEngine> SSLCodec.handshake(Connection connection, SSLEngineConfigurator configurator)
           
 

Uses of Connection in com.sun.grizzly.strategies
 

Methods in com.sun.grizzly.strategies with parameters of type Connection
 SimpleDynamicStrategy.DynamicStrategyContext SimpleDynamicStrategy.prepare(Connection connection, IOEvent ioEvent)
          Prepare Strategy for processing IOEvent, occured on the Connection.
 Boolean LeaderFollowerStrategy.prepare(Connection connection, IOEvent ioEvent)
          Prepare Strategy for processing IOEvent, occured on the Connection.
 Object WorkerThreadStrategy.prepare(Connection connection, IOEvent ioEvent)
          Prepare Strategy for processing IOEvent, occured on the Connection.
 Object SameThreadStrategy.prepare(Connection connection, IOEvent ioEvent)
          Prepare Strategy for processing IOEvent, occured on the Connection.
 

Uses of Connection in com.sun.grizzly.streams
 

Methods in com.sun.grizzly.streams that return Connection
 Connection StreamReader.getConnection()
          Get the Connection this StreamReader belongs to.
 Connection StreamWriterDecorator.getConnection()
          Get the Connection this StreamWriter belongs to.
 Connection AbstractStreamWriter.getConnection()
          Get the Connection this StreamWriter belongs to.
 Connection StreamReaderDecorator.getConnection()
           
 Connection StreamWriter.getConnection()
          Get the Connection this StreamWriter belongs to.
 Connection AbstractStreamReader.getConnection()
          Get the Connection this StreamReader belongs to.
 

Methods in com.sun.grizzly.streams with parameters of type Connection
 void AbstractStreamWriter.DisposeBufferCompletionHandler.cancelled(Connection connection)
           
 void StreamReaderDecorator.FeederCompletionHandler.cancelled(Connection connection)
           
 void AbstractStreamWriter.DisposeBufferCompletionHandler.completed(Connection connection, Object result)
           
 void StreamReaderDecorator.FeederCompletionHandler.completed(Connection connection, Object result)
           
 void AbstractStreamWriter.DisposeBufferCompletionHandler.failed(Connection connection, Throwable throwable)
           
 void StreamReaderDecorator.FeederCompletionHandler.failed(Connection connection, Throwable throwable)
           
 void AbstractStreamWriter.setConnection(Connection connection)
           
 void AbstractStreamReader.setConnection(Connection connection)
           
 void AbstractStreamWriter.DisposeBufferCompletionHandler.updated(Connection connection, Object result)
           
 void StreamReaderDecorator.FeederCompletionHandler.updated(Connection connection, Object result)
           
 

Constructors in com.sun.grizzly.streams with parameters of type Connection
AbstractStreamReader(Connection connection)
          Create a new ByteBufferReader.
AbstractStreamWriter(Connection connection)
          Create a new ByteBufferWriter.
 

Uses of Connection in com.sun.grizzly.utils
 

Methods in com.sun.grizzly.utils with parameters of type Connection
protected  void IdleTimeoutFilter.addConnection(Connection connection)
           
protected  void IdleTimeoutFilter.clearTimeout(Connection connection)
           
 TransformationResult LogFilter.decode(Connection connection, Object originalMessage)
           
 TransformationResult LogFilter.encode(Connection connection, Object originalMessage)
           
protected  long IdleTimeoutFilter.getConnectionTimeout(Connection connection)
           
 Long IdleTimeoutFilter.getExpirationTime(Connection connection, TimeUnit timeunit)
           
protected  void IdleTimeoutFilter.resetTimeout(Connection connection)
           
protected  void IdleTimeoutFilter.setConnectionTimeout(Connection connection, long timeout)
           
 void IdleTimeoutFilter.setExpirationTime(Connection connection, long timeout, TimeUnit timeunit)
           
 



Copyright © 2009 SUN Microsystems. All Rights Reserved.