VisiBroker for Java

org.omg.CosNotifyComm
Interface StructuredPullSupplierOperations

All Superinterfaces:
NotifySubscribeOperations
All Known Subinterfaces:
StructuredProxyPullSupplier, StructuredProxyPullSupplierOperations, StructuredPullSupplier

public interface StructuredPullSupplierOperations
extends NotifySubscribeOperations

StructuredPullSupplier is an interface every structured pull supplier must implement. Instance of this interface is actually a callback object that is connected to a proxy pull consumer of a channel.

See Also:
StructuredProxyPullConsumerOperations

Method Summary
 void disconnect_structured_pull_supplier()
          This method does the application specific cleanup before disconnection.
 StructuredEvent pull_structured_event()
          This method does the application specific way of producing and making up the structured event.
 StructuredEvent try_pull_structured_event(BooleanHolder has_event)
          This method does the application specific way of producing and making up the structured event (if any).
 
Methods inherited from interface org.omg.CosNotifyComm.NotifySubscribeOperations
subscription_change
 

Method Detail

disconnect_structured_pull_supplier

void disconnect_structured_pull_supplier()
This method does the application specific cleanup before disconnection. Notification service will call this method just before this supplier is disconnected.


try_pull_structured_event

StructuredEvent try_pull_structured_event(BooleanHolder has_event)
                                          throws Disconnected
This method does the application specific way of producing and making up the structured event (if any). Notification service actively calls this method to pull a structured event from this supplier.

Parameters:
has_event - The indicator denoting whether the result is a valid event.
Returns:
The structured event produced by this supplier.
Throws:
Disconnected - if this supplier is not connected to any proxy consumer.

pull_structured_event

StructuredEvent pull_structured_event()
                                      throws Disconnected
This method does the application specific way of producing and making up the structured event. Notification service actively calls this method to pull a structured event from this supplier.

Returns:
The structured event
Throws:
Disconnected - if this supplier is not connected to any proxy consumer.

Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online