connect
Class ComponentEmissary
java.lang.Object
|
+--connect.ComponentEmissary
- All Implemented Interfaces:
- Serializable
- public final class ComponentEmissary
- extends Object
- implements Serializable
This class is meant to be a representative for a component and is
sent across a channel upon first connection so that another
compnent that the receiving component may decide whether it will
accept the connection. This class is used in the connect method
for all CreatesConnections.
- Version:
- $Revision: 1.5 $
- Author:
- Dave Jurgens
- See Also:
- Serialized Form
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
componentType
private final Class componentType
connection
private final connect.CreatesConnection connection
ComponentEmissary
public ComponentEmissary(Class componentType,
connect.CreatesConnection connection)
getComponentType
public Class getComponentType()
- Return the class type for the requesting component.
getConnection
public connect.CreatesConnection getConnection()
- Return the CreatesConnection that will connect to the
requesting component.
toString
public String toString()
- Overrides:
toString in class Object
To submit a bug or feature email the author of that class. Funding for this research was provided by Boeing and DARPA.