Boeing Simulation 3.1 API Specification

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

Field Summary
private  Class componentType
           
private  connect.CreatesConnection connection
           
private static long serialVersionUID
           
 
Constructor Summary
ComponentEmissary(Class componentType, connect.CreatesConnection connection)
           
 
Method Summary
 Class getComponentType()
          Return the class type for the requesting component.
 connect.CreatesConnection getConnection()
          Return the CreatesConnection that will connect to the requesting component.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

componentType

private final Class componentType

connection

private final connect.CreatesConnection connection
Constructor Detail

ComponentEmissary

public ComponentEmissary(Class componentType,
                         connect.CreatesConnection connection)
Method Detail

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

Boeing Simulation 3.1 API Specification

To submit a bug or feature email the author of that class. Funding for this research was provided by Boeing and DARPA.