VisiBroker for Java

com.inprise.vbroker.PortableServerExt
Class SubjectAddressScheme

java.lang.Object
  extended by com.inprise.vbroker.PortableServerExt.SubjectAddressScheme
All Implemented Interfaces:
java.io.Serializable, IDLEntity

public final class SubjectAddressScheme
extends java.lang.Object
implements IDLEntity

Subject's address scheme.

See Also:
Serialized Form

Field Summary
static int _CHANNEL_ADDR
          The subject reference to subscribe/publish operations is an OMG Notification Channel (or typed channel).
static int _PUBLISH_ADMIN_ADDR
          The subject reference to publish() is an OMG notification supplier admin reference, PSA simply calls obtain_<...>_consumer() on the admin reference to allocate a proxy on the admin and then calls connect_<...>_supplier() on the proxy.
static int _SUBJECT_ADDR
          The subject reference to subscribe() is a direct event pushing address.
static int _SUBSCRIBE_ADMIN_ADDR
          The subject reference to subscribe() is a OMG Notification Consumer Admin reference, PSA simply calls obtain_<...>_supplier() on the admin to allocate a proxy on the admin and then calls connect_<...>_consumer() on the proxy.
static SubjectAddressScheme CHANNEL_ADDR
          The subject reference to subscribe/publish operations is an OMG Notification Channel (or typed channel).
static SubjectAddressScheme PUBLISH_ADMIN_ADDR
          The subject reference to publish() is an OMG notification supplier admin reference, PSA simply calls obtain_<...>_consumer() on the admin reference to allocate a proxy on the admin and then calls connect_<...>_supplier() on the proxy.
static SubjectAddressScheme SUBJECT_ADDR
          The subject reference to subscribe() is a direct event pushing address.
static SubjectAddressScheme SUBSCRIBE_ADMIN_ADDR
          The subject reference to subscribe() is a OMG Notification Consumer Admin reference, PSA simply calls obtain_<...>_supplier() on the admin to allocate a proxy on the admin and then calls connect_<...>_consumer() on the proxy.
 
Method Summary
 boolean equals(java.lang.Object o)
           
static SubjectAddressScheme from_int(int _vis_value)
           
 int hashCode()
           
 java.lang.String toString()
           
 int value()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_SUBSCRIBE_ADMIN_ADDR

public static final int _SUBSCRIBE_ADMIN_ADDR
The subject reference to subscribe() is a OMG Notification Consumer Admin reference, PSA simply calls obtain_<...>_supplier() on the admin to allocate a proxy on the admin and then calls connect_<...>_consumer() on the proxy. The consumer reference connected to the proxy is either null (for pull mode consumer) or a push consumer object reference created from this PSA with the observer_id parameter. For typed channels, the get_typed_consumer() and get_typed_supplier() are automatically handled by PSA.

See Also:
Constant Field Values

_PUBLISH_ADMIN_ADDR

public static final int _PUBLISH_ADMIN_ADDR
The subject reference to publish() is an OMG notification supplier admin reference, PSA simply calls obtain_<...>_consumer() on the admin reference to allocate a proxy on the admin and then calls connect_<...>_supplier() on the proxy. The supplier reference connected to the proxy is either null (for push supplier) or a pull supplier reference create from this PSA with provider_id parameter. For typed channels, get_typed_consumer() operation and get_typed_supplier() implementation are automatically handled by PSA.

See Also:
Constant Field Values

_CHANNEL_ADDR

public static final int _CHANNEL_ADDR
The subject reference to subscribe/publish operations is an OMG Notification Channel (or typed channel). PSA simply calls _get_default_consumer_admin()/ _get_default_supplier_admin() on the channel to get the default admin and then handles it as a connection through this consumer admin reference.

See Also:
Constant Field Values

_SUBJECT_ADDR

public static final int _SUBJECT_ADDR
The subject reference to subscribe() is a direct event pushing address. For example, it could be a multicast IOR, or a typed <I> interface. For any other channel than typed, it is a proxy push consumer. PSA calls _get_MyAdmin()/_get_MyChannel()/_get_default_consumer_admin() and then handles it as a connection through consumer admin. For typed channel, this is already a push interface. PSA looks into the reference for a consumer admin component (not currently supported) and handles as a connection through consumer admin.

The subject reference to publish() is a direct event pushing address. For example, it could be a multicast IOR or a typed interface. This is a trivial case. PSA simply wraps a publisher descriptor and returns.

See Also:
Constant Field Values

SUBSCRIBE_ADMIN_ADDR

public static final SubjectAddressScheme SUBSCRIBE_ADMIN_ADDR
The subject reference to subscribe() is a OMG Notification Consumer Admin reference, PSA simply calls obtain_<...>_supplier() on the admin to allocate a proxy on the admin and then calls connect_<...>_consumer() on the proxy. The consumer reference connected to the proxy is either null (for pull mode consumer) or a push consumer object reference created from this PSA with the observer_id parameter. For typed channels, the get_typed_consumer() and get_typed_supplier() are automatically handled by PSA.


PUBLISH_ADMIN_ADDR

public static final SubjectAddressScheme PUBLISH_ADMIN_ADDR
The subject reference to publish() is an OMG notification supplier admin reference, PSA simply calls obtain_<...>_consumer() on the admin reference to allocate a proxy on the admin and then calls connect_<...>_supplier() on the proxy. The supplier reference connected to the proxy is either null (for push supplier) or a pull supplier reference create from this PSA with provider_id parameter. For typed channels, get_typed_consumer() operation and get_typed_supplier() implementation are automatically handled by PSA.


CHANNEL_ADDR

public static final SubjectAddressScheme CHANNEL_ADDR
The subject reference to subscribe/publish operations is an OMG Notification Channel (or typed channel). PSA simply calls _get_default_consumer_admin()/ _get_default_supplier_admin() on the channel to get the default admin and then handles it as a connection through this consumer admin reference.


SUBJECT_ADDR

public static final SubjectAddressScheme SUBJECT_ADDR
The subject reference to subscribe() is a direct event pushing address. For example, it could be a multicast IOR, or a typed <I> interface. For any other channel than typed, it is a proxy push consumer. PSA calls _get_MyAdmin()/_get_MyChannel()/_get_default_consumer_admin() and then handles it as a connection through consumer admin. For typed channel, this is already a push interface. PSA looks into the reference for a consumer admin component (not currently supported) and handles as a connection through consumer admin.

The subject reference to publish() is a direct event pushing address. For example, it could be a multicast IOR or a typed interface. This is a trivial case. PSA simply wraps a publisher descriptor and returns.

Method Detail

value

public int value()

from_int

public static SubjectAddressScheme from_int(int _vis_value)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

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