VisiBroker for Java

org.omg.CosEventComm
Interface PushConsumerOperations

All Known Subinterfaces:
ProxyPushConsumer, ProxyPushConsumer, ProxyPushConsumerOperations, ProxyPushConsumerOperations, PushConsumer, PushConsumer, PushConsumerOperations, TypedProxyPushConsumer, TypedProxyPushConsumerOperations, org.omg.CosTypedEventComm.TypedPushConsumer, TypedPushConsumer, org.omg.CosTypedEventComm.TypedPushConsumerOperations, TypedPushConsumerOperations

public interface PushConsumerOperations

This interface is used to derive consumer objects that use the push model of communication. The push method is used by a supplier whenever it has data for the consumer. A Disconnected exception will be raised if the consumer has disconnected.


Method Summary
 void disconnect_push_consumer()
          This method terminates the event communication.
 void push(Any data)
          A supplier communicates event data to the consumer by invoking the push() method and passing the event data as a parameter.
 

Method Detail

disconnect_push_consumer

void disconnect_push_consumer()
This method terminates the event communication.


push

void push(Any data)
          throws Disconnected
A supplier communicates event data to the consumer by invoking the push() method and passing the event data as a parameter. If the event communication has already been disconnected, the Disconnected exception is raised.

Parameters:
data - Information to be passed to the consumer.
Throws:
Disconnected

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