webMethods Broker Administration Java API
Version 9.5.1.0.171 091713

COM.activesw.api.client
Class BrokerClusterGatewayInfo

java.lang.Object
  extended by COM.activesw.api.client.BrokerClusterGatewayInfo

public class BrokerClusterGatewayInfo
extends java.lang.Object

This class stores configuration information about a cluster gateway


Field Summary
 java.lang.String[] accessible_clusters
          The list of clusters accessible through this gateway.
 int auth_type
          The authentication type in use on the gateway.
 int encrypt_level
          The level of encryption required on the gateway.
 java.lang.String gateway_broker_name
          The gateway broker in this cluster.
 java.lang.String gateway_host_name
          The gateway host in this cluster.
 boolean is_complete
          Whether or not the gateway is complete.
 boolean is_local
          Whether or not the gateway is on the current broker.
 boolean is_primary_gateway
          Whether or not the Cluster gateway is primary.
 java.lang.String remote_broker_description
          The description of the remote broker.
 java.lang.String remote_broker_name
          The remote broker name.
 java.lang.String remote_cluster_name
          The name of the remote cluster
 java.lang.String remote_host_name
          The remote broker's host name.
 
Constructor Summary
BrokerClusterGatewayInfo()
          Create an empty Cluster gateway info object.
BrokerClusterGatewayInfo(BrokerTerritoryGatewayInfo terrGwyInfo)
          Create an Cluster gateway info object from Territory Gateway Info object.
 
Method Summary
 java.lang.String toString()
          Returns a string with the Cluster gateway info in a form suitable for human viewing.
 java.lang.String toString(int indent_level, boolean hide_gateway_broker, boolean hide_accessible_clusters)
          Returns a string with the cluster gateway info in a form suitable for human viewing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

gateway_host_name

public java.lang.String gateway_host_name
The gateway host in this cluster.


gateway_broker_name

public java.lang.String gateway_broker_name
The gateway broker in this cluster.


remote_cluster_name

public java.lang.String remote_cluster_name
The name of the remote cluster


remote_host_name

public java.lang.String remote_host_name
The remote broker's host name. If the gateway broker is not the same as the current broker, this field may be null


remote_broker_name

public java.lang.String remote_broker_name
The remote broker name. If the gateway broker is not the same as the current broker, this field may be null


remote_broker_description

public java.lang.String remote_broker_description
The description of the remote broker. If the gateway broker is not the same as the current broker, this field may be null


auth_type

public int auth_type
The authentication type in use on the gateway. Valid values are BrokerAdminClient.AUTH_TYPE_*.


encrypt_level

public int encrypt_level
The level of encryption required on the gateway. Valid values are BrokerConnectionDescriptor.ENCRYPT_LEVEL_*.


is_local

public boolean is_local
Whether or not the gateway is on the current broker.


is_complete

public boolean is_complete
Whether or not the gateway is complete. A gateway is complete if both the gateway and remote brokers agree on the gateway. It is not complete if the gateway broker has created a gateway, but the similar create was not done on the remote broker.


is_primary_gateway

public boolean is_primary_gateway
Whether or not the Cluster gateway is primary. Brokers in a Cluster (8.x and above) can have multiple gateway links to the other Cluster. User can set one of them as the Primary gateway for communication.


accessible_clusters

public java.lang.String[] accessible_clusters
The list of clusters accessible through this gateway.

Constructor Detail

BrokerClusterGatewayInfo

public BrokerClusterGatewayInfo()
Create an empty Cluster gateway info object.


BrokerClusterGatewayInfo

public BrokerClusterGatewayInfo(BrokerTerritoryGatewayInfo terrGwyInfo)
Create an Cluster gateway info object from Territory Gateway Info object.

Method Detail

toString

public java.lang.String toString()
Returns a string with the Cluster gateway info in a form suitable for human viewing.

Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(int indent_level,
                                 boolean hide_gateway_broker,
                                 boolean hide_accessible_clusters)
Returns a string with the cluster gateway info in a form suitable for human viewing. This string does not include accessible cluster information. If hide_gateway_broker is true, it omits the gateway broker's host and name, and the is_local information. If hide_accessible_clusters is true, it omits the accessible clusters and is_complete information.


webMethods Broker Administration Java API
Version 9.5.1.0.171 091713


Copyright © 2001 - 2013 Software AG Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, United States of America, and/or their suppliers.