org.mule.providers.ssl
Class SslMessageDispatcher

java.lang.Object
  extended by org.mule.providers.AbstractMessageDispatcher
      extended by org.mule.providers.tcp.TcpMessageDispatcher
          extended by org.mule.providers.ssl.SslMessageDispatcher
All Implemented Interfaces:
ExceptionListener, org.mule.umo.lifecycle.Disposable, org.mule.umo.provider.UMOConnectable, org.mule.umo.provider.UMOMessageDispatcher, org.mule.umo.provider.UMOMessageDispatching

public class SslMessageDispatcher
extends org.mule.providers.tcp.TcpMessageDispatcher


Field Summary
 
Fields inherited from class org.mule.providers.tcp.TcpMessageDispatcher
serializableToByteArray
 
Fields inherited from class org.mule.providers.AbstractMessageDispatcher
connected, connecting, connectionStrategy, disposed, endpoint, logger, workManager
 
Fields inherited from interface org.mule.umo.provider.UMOMessageDispatching
RECEIVE_NO_WAIT, RECEIVE_WAIT_INDEFINITELY
 
Constructor Summary
SslMessageDispatcher(org.mule.umo.endpoint.UMOImmutableEndpoint endpoint)
           
 
Method Summary
protected  void doConnect()
          TcpMessageDispatcher opens and closes the socket at this point to check for a clear connection.
 
Methods inherited from class org.mule.providers.tcp.TcpMessageDispatcher
doDisconnect, doDispatch, doDispose, doReceive, doSend
 
Methods inherited from class org.mule.providers.AbstractMessageDispatcher
activate, connect, disconnect, dispatch, dispose, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, isConnected, isDoThreading, isTransactionRollback, passivate, receive, reconnect, send, toString, useRemoteSync, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SslMessageDispatcher

public SslMessageDispatcher(org.mule.umo.endpoint.UMOImmutableEndpoint endpoint)
Method Detail

doConnect

protected void doConnect()
                  throws Exception
TcpMessageDispatcher opens and closes the socket at this point to check for a clear connection. We do not do this for SSL because: (i) it is expensive; (ii) the advantages are doubtful and (iii) it throws an ugly (although apparently harmless) exception.

Overrides:
doConnect in class org.mule.providers.tcp.TcpMessageDispatcher
Throws:
Exception - Never


Copyright © 2003-2007 MuleSource, Inc.. All Rights Reserved.