Package COM.activesw.api.client
Class BrokerClusterGatewayInfo
java.lang.Object
COM.activesw.api.client.BrokerClusterGatewayInfo
This class stores configuration information about a cluster gateway
-
Field Summary
FieldsModifier and TypeFieldDescriptionString[]
The list of clusters accessible through this gateway.int
The authentication type in use on the gateway.int
The level of encryption required on the gateway.The gateway broker in this cluster.The gateway host in this cluster.boolean
Whether or not the gateway is complete.boolean
Whether or not the gateway is on the current broker.boolean
Whether or not the Cluster gateway is primary.The description of the remote broker.The remote broker name.The name of the remote clusterThe remote broker's host name. -
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty Cluster gateway info object.BrokerClusterGatewayInfo
(BrokerTerritoryGatewayInfo terrGwyInfo) Create an Cluster gateway info object from Territory Gateway Info object. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns a string with the Cluster gateway info in a form suitable for human viewing.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.
-
Field Details
-
gateway_host_name
The gateway host in this cluster. -
gateway_broker_name
The gateway broker in this cluster. -
remote_cluster_name
The name of the remote cluster -
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
The remote broker name. If the gateway broker is not the same as the current broker, this field may be null -
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_typeThe authentication type in use on the gateway. Valid values are BrokerAdminClient.AUTH_TYPE_*. -
encrypt_level
public int encrypt_levelThe level of encryption required on the gateway. Valid values are BrokerConnectionDescriptor.ENCRYPT_LEVEL_*. -
is_local
public boolean is_localWhether or not the gateway is on the current broker. -
is_complete
public boolean is_completeWhether 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_gatewayWhether 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
The list of clusters accessible through this gateway.
-
-
Constructor Details
-
BrokerClusterGatewayInfo
public BrokerClusterGatewayInfo()Create an empty Cluster gateway info object. -
BrokerClusterGatewayInfo
Create an Cluster gateway info object from Territory Gateway Info object.
-
-
Method Details
-
toString
Returns a string with the Cluster gateway info in a form suitable for human viewing. -
toString
public 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.
-