org.fusesource.fabric.dosgi.tcp
Class ClientInvokerImpl.InvokerTransportPool

java.lang.Object
  extended by org.fusesource.fabric.dosgi.tcp.TransportPool
      extended by org.fusesource.fabric.dosgi.tcp.ClientInvokerImpl.InvokerTransportPool
All Implemented Interfaces:
Service
Enclosing class:
ClientInvokerImpl

protected class ClientInvokerImpl.InvokerTransportPool
extends TransportPool


Nested Class Summary
 
Nested classes/interfaces inherited from class org.fusesource.fabric.dosgi.tcp.TransportPool
TransportPool.Listener, TransportPool.Pair, TransportPool.TransportState
 
Field Summary
 
Fields inherited from class org.fusesource.fabric.dosgi.tcp.TransportPool
DEFAULT_EVICTION_DELAY, DEFAULT_POOL_SIZE, evictionDelay, LOGGER, pending, poolSize, queue, running, transports, uri
 
Constructor Summary
ClientInvokerImpl.InvokerTransportPool(java.lang.String uri, org.fusesource.hawtdispatch.DispatchQueue queue)
           
 
Method Summary
protected  ProtocolCodec createCodec()
           
protected  Transport createTransport(java.lang.String uri)
           
protected  void onCommand(java.lang.Object command)
           
protected  void onFailure(java.lang.Object id, java.lang.Throwable throwable)
           
 
Methods inherited from class org.fusesource.fabric.dosgi.tcp.TransportPool
doOffer, getIdleTransport, offer, onDone, start, start, startNewTransport, stop, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientInvokerImpl.InvokerTransportPool

public ClientInvokerImpl.InvokerTransportPool(java.lang.String uri,
                                              org.fusesource.hawtdispatch.DispatchQueue queue)
Method Detail

createTransport

protected Transport createTransport(java.lang.String uri)
                             throws java.lang.Exception
Specified by:
createTransport in class TransportPool
Throws:
java.lang.Exception

createCodec

protected ProtocolCodec createCodec()
Specified by:
createCodec in class TransportPool

onCommand

protected void onCommand(java.lang.Object command)
Specified by:
onCommand in class TransportPool

onFailure

protected void onFailure(java.lang.Object id,
                         java.lang.Throwable throwable)
Specified by:
onFailure in class TransportPool


Copyright © 2013 Red Hat. All Rights Reserved.