| 
                  VisiBroker for Java  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PullSupplierOperations
This interface is used to derive supplier objects that use the pull model of communication.
| Method Summary | |
|---|---|
 void | 
disconnect_pull_supplier()
Terminates the event communication.  | 
 Any | 
pull()
This method blocks until there is data available from the supplier.  | 
 Any | 
try_pull(BooleanHolder has_event)
This non-blocking method attempts to retrieve data from the supplier.  | 
| Method Detail | 
|---|
void disconnect_pull_supplier()
Any try_pull(BooleanHolder has_event)
             throws Disconnected
has_event is set to the value true and the data is returned as 
       a CORBA::Any type if there was data available. If has_event is 
       set to the value false, then no data was available and the return value will be 
       NULL.
has_event - set to true if event data is available, falseotherwise.
CORBA::Any
Disconnected
Any pull()
         throws Disconnected
Any type. If the consumer has disconnected, this method raises a 
       Disconnected exception.
CORBA::Any
Disconnected
  | 
                 
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||