Main Page   Packages   Class Hierarchy   Compound List   File List   Compound Members  

ProxyPullSupplierImpl Class Reference

Inheritance diagram for ProxyPullSupplierImpl:

Inheritance graph
[legend]
Collaboration diagram for ProxyPullSupplierImpl:

Collaboration graph
[legend]
List of all members.

Public Methods

void connect_pull_consumer (PullConsumer pull_consumer)
void disconnect_pull_supplier ()
org omg CORBA Any pull () throws org.omg.CosEventComm.Disconnected
org omg CORBA Any try_pull (org.omg.CORBA.BooleanHolder has_event) throws org.omg.CosEventComm.Disconnected

Protected Methods

 ProxyPullSupplierImpl (EventChannelImpl ec, org.omg.CORBA.ORB orb)

Private Attributes

EventChannelImpl myEventChannel
PullConsumer myPullConsumer

Constructor & Destructor Documentation

ProxyPullSupplierImpl::ProxyPullSupplierImpl ( EventChannelImpl ec,
org.omg.CORBA.ORB orb ) [inline, protected]
 

Definition at line 37 of file ProxyPullSupplierImpl.java.

00037                                                                                   {
00038       myEventChannel = ec;
00039       orb.connect(this);
00040    }   


Member Function Documentation

void ProxyPullSupplierImpl::connect_pull_consumer ( PullConsumer pull_consumer ) [inline]
 

Definition at line 43 of file ProxyPullSupplierImpl.java.

00043                                                                     {
00044       myPullConsumer = pull_consumer;
00045    }   

void ProxyPullSupplierImpl::disconnect_pull_supplier ( ) [inline]
 

Definition at line 46 of file ProxyPullSupplierImpl.java.

00046                                           {
00047       myEventChannel.disconnect_pull_supplier ( this );
00048    }

org omg CORBA Any ProxyPullSupplierImpl::pull ( ) [inline]
 

Definition at line 52 of file ProxyPullSupplierImpl.java.

00053                                                {
00054       return myEventChannel.internal_pull( this );
00055    }   

org omg CORBA Any ProxyPullSupplierImpl::try_pull ( org.omg.CORBA.BooleanHolder has_event ) [inline]
 

Definition at line 57 of file ProxyPullSupplierImpl.java.

00058                                                {
00059       Boolean b = new Boolean ( has_event.value );
00060       org.omg.CORBA.Any event;
00061       
00062       event = myEventChannel.internal_try_pull ( this, has_event );
00063       return event;
00064    }   


Member Data Documentation

EventChannelImpl ProxyPullSupplierImpl::myEventChannel [private]
 

Definition at line 32 of file ProxyPullSupplierImpl.java.

PullConsumer ProxyPullSupplierImpl::myPullConsumer [private]
 

Definition at line 33 of file ProxyPullSupplierImpl.java.


The documentation for this class was generated from the following file:
Generated at Fri May 31 19:25:06 2002 for Jonathan by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001