things.thinger.io.conduits.basic
Class BasicConduitController

java.lang.Object
  extended by things.thinger.io.conduits.basic.BasicConduitController
All Implemented Interfaces:
ConduitController

public class BasicConduitController
extends java.lang.Object
implements ConduitController

A Basic conduit controller. If the conduit doesn't exist, it will be created. BasicConduits are intended to last the life of the server, so don't make them when you expect to dispose them.

Version:
1.0

Version History

EPG - Adapted from autohit - 29 JUN 05
 
Author:
Erich P. Gatejen

Constructor Summary
BasicConduitController()
          Default constructor.
 
Method Summary
 Conduit tune(ConduitID channel, WhoAmI callerId)
          This will attempt to use a common name to find a specific conduit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicConduitController

public BasicConduitController()
Default constructor.

Method Detail

tune

public Conduit tune(ConduitID channel,
                    WhoAmI callerId)
             throws SystemException
This will attempt to use a common name to find a specific conduit. you will need to tell the Conduit system who you are with a WhoAmI.

Specified by:
tune in interface ConduitController
Parameters:
channel - A conduit ID.
callerId - Your WhoAmI.
Returns:
A ConduitID if successful, otherwise null.
Throws:
SystemException


Things.