things.thinger.io.conduits
Interface Injector

All Known Implementing Classes:
BasicInjector

public interface Injector

A conduit injector interface.

Version:
1.0

Version History

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

Method Summary
 Conduit.InjectorType getMyType()
          Get the injector type.
 void init(ConduitID yourId, Conduit.InjectorType theType)
          Initialize the Injector.
 ReceiptList post(Data item)
          Post an item.
 

Method Detail

init

void init(ConduitID yourId,
          Conduit.InjectorType theType)
          throws SystemException
Initialize the Injector. This will be called by it's controller. An subsequent calls may result in a PANIC SystemException. Don't do it!

Parameters:
yourId - The ConduitID for this injector.
theType - the type of controller.
Throws:
SystemException
See Also:
Conduit, ConduitID

post

ReceiptList post(Data item)
                 throws SystemException
Post an item.

Returns:
a receipt list
Throws:
SystemException
See Also:
ReceiptList

getMyType

Conduit.InjectorType getMyType()
Get the injector type.

Returns:
the type
See Also:
Conduit


Things.