Boeing Simulation 3.1 API Specification

connect
Class FacetChannelAdmin

java.lang.Object
  |
  +--connect.FacetChannelAdmin
All Implemented Interfaces:
Serializable

public class FacetChannelAdmin
extends Object
implements Serializable

This class is intended to be a singleton provider of the FACET EventChannel object. This maintains that there should be one EventChannel per JVM. Although it is possible, no EventChannel should be created outside of this by any type of component for the purposes of connecting to another component.

Version:
$Revision: 1.8 $
Author:
Dave Jurgens
See Also:
Serialized Form

Field Summary
private  edu.wustl.doc.facet.EventChannelImpl eventChannel
          The EventChannelImpl for this JVM.
private static long serialVersionUID
           
private static connect.FacetChannelAdmin singleton
           
private  int sourceType
          This variable + 1 represents the next available source type that a facet based component may use to filter.
 
Constructor Summary
private FacetChannelAdmin()
           
 
Method Summary
 edu.wustl.doc.facet.EventChannelImpl getEventChannel()
          Returns the EventChannel for this JVM
 int getNextSourceType()
          Returns the next unique source type that a component can use.
static connect.FacetChannelAdmin instance()
          Returns the singleton instance of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

eventChannel

private final edu.wustl.doc.facet.EventChannelImpl eventChannel
The EventChannelImpl for this JVM.


singleton

private static connect.FacetChannelAdmin singleton

sourceType

private int sourceType
This variable + 1 represents the next available source type that a facet based component may use to filter. This source type is not used by any other facet components.

Constructor Detail

FacetChannelAdmin

private FacetChannelAdmin()
Method Detail

instance

public static connect.FacetChannelAdmin instance()
Returns the singleton instance of this class.


getEventChannel

public edu.wustl.doc.facet.EventChannelImpl getEventChannel()
Returns the EventChannel for this JVM


getNextSourceType

public int getNextSourceType()
Returns the next unique source type that a component can use. Note that for multiple JVM, two components may have the same source type but another component should never cross a JVM and still use the same source type. This is to say that a component should reacquire a new source type from that JVM's FacetChannelAdmin upon migrating.


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.