Boeing Simulation 3.1 API Specification

connect
Class ChannelBundle

java.lang.Object
  |
  +--connect.ChannelBundle

public class ChannelBundle
extends Object

This class is intended to be a wrapper class for a supplier and a consumer channel.

Version:
$Revision: 1.8 $
Author:
Dave Jurgens

Field Summary
private  connect.ConsumerChannel cc
           
private  connect.SupplierChannel sc
           
private static long serialVersionUID
           
 
Constructor Summary
ChannelBundle(connect.SupplierChannel sc, connect.ConsumerChannel cc)
           
 
Method Summary
 void close()
          Closes the ConsumerChannel and SupplierChannel associated with this object.
 connect.ConsumerChannel getConsumerChannel()
          Returns the SupplierChannel associated with this Bundle.
 connect.SupplierChannel getSupplierChannel()
          Returns the SupplierChannel associated with this Bundle.
 
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

sc

private final connect.SupplierChannel sc

cc

private final connect.ConsumerChannel cc
Constructor Detail

ChannelBundle

public ChannelBundle(connect.SupplierChannel sc,
                     connect.ConsumerChannel cc)
Method Detail

getSupplierChannel

public connect.SupplierChannel getSupplierChannel()
Returns the SupplierChannel associated with this Bundle.


getConsumerChannel

public connect.ConsumerChannel getConsumerChannel()
Returns the SupplierChannel associated with this Bundle.


close

public void close()
           throws IOException
Closes the ConsumerChannel and SupplierChannel associated with this object.

IOException

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.