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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
sc
private final connect.SupplierChannel sc
cc
private final connect.ConsumerChannel cc
ChannelBundle
public ChannelBundle(connect.SupplierChannel sc,
connect.ConsumerChannel cc)
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
To submit a bug or feature email the author of that class. Funding for this research was provided by Boeing and DARPA.