Uses of Class
anima.component.exception.ConnectorException

Packages that use ConnectorException
anima.connector   
anima.connector.javalocal   
 

Uses of ConnectorException in anima.connector
 

Methods in anima.connector that throw ConnectorException
 IAssyncConnector IConnectorFactory.create1to1AssyncConnector(IAssyncSender sender, IAssyncReceiver receiver)
          This method creates an asynchronous connector
This asynchronous connector refers to way how the message will
sent.
 ISyncConnector IConnectorFactory.create1to1SyncConnector(ISyncSender sender, ISyncReceiver receiver)
          This method creates a synchronous connector.
 

Uses of ConnectorException in anima.connector.javalocal
 

Methods in anima.connector.javalocal that throw ConnectorException
 IAssyncConnector JavaLocalConnectorFactory.create1to1AssyncConnector(IAssyncSender sender, IAssyncReceiver receiver)
          This method creates a AssyncConnector and uses parameters
public IAssyncConnector create1to1AssyncConnector(IAssyncSender sender, IAssyncReceiver receiver) throws ConnectorException { IAssyncConnector connector = new JavaLocal1To1AssyncConnector(sender, receiver, broker); sender.connect(connector); return connector; }
 ISyncConnector JavaLocalConnectorFactory.create1to1SyncConnector(ISyncSender sender, ISyncReceiver receiver)
          This method creates a SyncConnector and uses parameters
public ISyncConnector create1to1SyncConnector(ISyncSender sender, ISyncReceiver receiver) throws ConnectorException { sender.connect(receiver); return new JavaLocal1To1SyncConnector(sender, receiver); }
 

Constructors in anima.connector.javalocal that throw ConnectorException
JavaLocal1To1AssyncConnector(IAssyncSender sender, IAssyncReceiver receiver, IBroker broker)
          The constructor receives tree parameters and it can to generate an exception Case receiver or sender be nulls an exception message will be generate
JavaLocal1To1SyncConnector(ISyncSender sender, ISyncReceiver receiver)
          The constructor receives two parameters and it can to generate an exception
public JavaLocal1To1SyncConnector(ISyncSender sender, ISyncReceiver receiver) throws ConnectorException { if (receiver == null) throw new ConnectorException("connection sender cannot be null"); else if (sender == null) throw new ConnectorException("connection receiver cannot be null"); this.sender = sender; this.receiver = receiver; } Case receiver or sender be nulls an exception message will be generate
 



Copyright © 2007. All Rights Reserved.