Package COM.activesw.api.client
Class BrokerClusterGatewayInfo
- java.lang.Object
-
- COM.activesw.api.client.BrokerClusterGatewayInfo
-
public class BrokerClusterGatewayInfo extends java.lang.Object
This class stores configuration information about a cluster gateway
-
-
Field Summary
Fields Modifier and Type Field Description 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 clusterjava.lang.String
remote_host_name
The remote broker's host name.
-
Constructor Summary
Constructors Constructor Description BrokerClusterGatewayInfo()
Create an empty Cluster gateway info object.BrokerClusterGatewayInfo(BrokerTerritoryGatewayInfo terrGwyInfo)
Create an Cluster gateway info object from Territory Gateway Info object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 classjava.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.
-
-