Package COM.TIBCO.hawk.console.hawkeye
Class TIBHawkConsole
java.lang.Object
COM.TIBCO.hawk.console.hawkeye.TIBHawkConsole
The TIBHawkConsole provides access to services
that can be used for monitoring and management of
TIB/Hawk agent events.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AgentManagerprotected AgentMonitorprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected COM.TIBCO.hawk.console.hawkeye.Providerprotected String -
Constructor Summary
ConstructorsModifierConstructorDescriptionTIBHawkConsole(String hawkDomain, String serverURL) Deprecated.As of Hawk 5.0, instead use TIBHawkConsoleFactory to construct TIBHawkConsoleTIBHawkConsole(String hawkDomain, String rvaHost, int rvaPort, int rvaTunnelMode) Deprecated.As of Hawk 5.0, instead use TIBHawkConsoleFactory to construct TIBHawkConsoleTIBHawkConsole(String hawkDomain, String rvService, String rvNetwork, String rvDaemon) Deprecated.As of Hawk 5.0, instead use TIBHawkConsoleFactory to construct TIBHawkConsoleTIBHawkConsole(String hawkDomain, String serverURL, String userName, String password, int mode) Deprecated.As of TIB/Hawk version 4.6.0, instead use TIBHawkConsoleFactory to construct TIBHawkConsoleTIBHawkConsole(String licenseFile, String hawkDomain, String rvService, String rvNetwork, String rvDaemon) Deprecated.As of TIB/Hawk version 3.1.0, instead use TIBHawkConsoleFactory to construct TIBHawkConsoleTIBHawkConsole(String hawkDomain, String serverURL, String userName, String password, Hashtable environment) Deprecated.As of Hawk version 5.0, instead use TIBHawkConsoleFactory to construct TIBHawkConsoleTIBHawkConsole(String hawkDomain, Map props) protectedTIBHawkConsole(Map config) Constructs a TIBHawkConsole object with given properties -
Method Summary
Modifier and TypeMethodDescriptionReturns the agent manager.Returns the agent monitor.static voidvoidsetCharacterEncoding(String encoding) Sets the character encoding used by the TIBCO Rendezvous daemon See TIBCO Rendezvous documentation
-
Field Details
-
licence
-
domain
-
service
-
network
-
daemon
-
agentMonitor
-
agentManager
-
characterEncoding
-
provider
protected COM.TIBCO.hawk.console.hawkeye.Provider provider
-
-
Constructor Details
-
TIBHawkConsole
@Deprecated public TIBHawkConsole(String hawkDomain, String rvService, String rvNetwork, String rvDaemon) Deprecated.As of Hawk 5.0, instead use TIBHawkConsoleFactory to construct TIBHawkConsoleConstructs a TIBHawkConsole object.The parameters are used to set up the console's communications channels. The
hawkDomainandrvServiceparameters must be the same as the hawk domain and TIB/Rendezvous service configuration parameters used by the agents in order to communicate with them.- Parameters:
hawkDomain- The hawk domain on which to communicatervService- The TIB/Rendezvous service parameter to use for console communication. See the TIB/Rendezvous documentation for more information.rvNetwork- The TIB/Rendezvous network parameter to use for console communication. See the TIB/Rendezvous documentation for more information.rvDaemon- The TIB/Rendezvous daemon parameter to use for console communication. See the TIB/Rendezvous documentation for more information.- See Also:
-
TIBHawkConsole
@Deprecated public TIBHawkConsole(String licenseFile, String hawkDomain, String rvService, String rvNetwork, String rvDaemon) Deprecated.As of TIB/Hawk version 3.1.0, instead use TIBHawkConsoleFactory to construct TIBHawkConsoleConstructs a TIBHawkConsole object.- See Also:
-
TIBHawkConsole
@Deprecated public TIBHawkConsole(String hawkDomain, String serverURL, String userName, String password, Hashtable environment) Deprecated.As of Hawk version 5.0, instead use TIBHawkConsoleFactory to construct TIBHawkConsoleConstructs a TIBHawkConsole object. This constructor allows the TIBHawkConsole to connect to a TIBrvJMSTransport. See the TIBCO Enterprise for JMS documentation for more information about TIBrvJMSTransport and the paremeters to this constructor.- Parameters:
hawkDomain- The hawk domain on which to communicateserverURL-userName-password-environment- The SSL parameters for EMS transport- See Also:
-
TIBHawkConsole
@Deprecated public TIBHawkConsole(String hawkDomain, String serverURL, String userName, String password, int mode) Deprecated.As of TIB/Hawk version 4.6.0, instead use TIBHawkConsoleFactory to construct TIBHawkConsoleConstructs a TIBHawkConsole object. This constructor allows the TIBHawkConsole to connect to a TIBrvJMSTransport. See the TIBCO Enterprise for JMS documentation for more information about TIBrvJMSTransport and the paremeters to this constructor.- Parameters:
hawkDomain- The hawk domain on which to communicateserverURL-userName-password-mode- This parameter is not currently used. You may pass in any int value.- See Also:
-
TIBHawkConsole
Deprecated.As of Hawk 5.0, instead use TIBHawkConsoleFactory to construct TIBHawkConsoleConstructs a TIBHawkConsole object. This constructor allows the TIBHawkConsole to connect to a TIBrvJMSTransport. See the TIBCO Enterprise for JMS documentation for more information about TIBrvJMSTransport and the paremeters to this constructor.- Parameters:
hawkDomain- The hawk domain on which to communicateserverURL-- See Also:
-
TIBHawkConsole
@Deprecated public TIBHawkConsole(String hawkDomain, String rvaHost, int rvaPort, int rvaTunnelMode) Deprecated.As of Hawk 5.0, instead use TIBHawkConsoleFactory to construct TIBHawkConsoleConstructs a TIBHawkConsole object. This constructor allows the TIBHawkConsole to connect to a TIBrvRvaTransport (RVA). See the TIB/Rendezvous documentation for more information about TIBrvRvaTransport.- Parameters:
hawkDomain- The hawk domain on which to communicatervaHost- The TIB/Rendezvous host parameter to use for console communication. To connect to rva on the local computer supply null.rvaPort- The TIB/Rendezvous port parameter to use for console communication. To use the default rva port, supply 0.rvaTunnelMode- The TIB/Rendezvous tunnelmode parameter to use for console communication. The default value is HTTP_TUNNEL_DISABLE.- See Also:
-
TIBHawkConsole
Constructs a TIBHawkConsole object with given properties- Parameters:
config- Configuration map can have below keys:Property Name Mandatory Default Desciption HawkConstants.HAWK_DOMAINNo default The hawk domain HawkConstants.HAWK_TRANSPORTNo HawkConstants.HAWK_TRANSPORT_TIBRVChoice of transport. Can be one of HawkConstants.HAWK_TRANSPORT_TIBGRPCorHawkConstants.HAWK_TRANSPORT_TIBRVorHawkConstants.HAWK_TRANSPORT_TIBEMSProperties when hawk transport is tibgrpc: HawkConstants.PROPERTY_GRPC_SESSION_PORTNo 9687 Port that the Hawk RedTail Console component container uses to listen to incoming transport request from Hawk agents HawkConstants.PROPERTY_GRPC_ENABLE_TLSNo false Set to true, if communication needs to happen over TLS protocol HawkConstants.PROPERTY_GRPC_SERVER_CERTNo null Path of the server certificate for the HawkConsole HawkConstants.PROPERTY_GRPC_SERVER_KEYNo null Path to HawkConsole private key HawkConstants.PROPERTY_GRPC_SERVER_KEY_PASSWORDNo null HawkConsole private key password HawkConstants.PROPERTY_GRPC_CLIENT_CANo null Path to HawkAgent CA for mutual authentication Properties when hawk transport is tibrv: HawkConstants.RV_SERVICENo 7500 Rendezvous service name HawkConstants.RV_NETWORKNo ; Rendezvous Network HawkConstants.RV_DAEMONNo tcp:7500 Rendezvous Deamon Properties when hawk transport is tibems: HawkConstants.HAWK_EMS_URLNo localhost://7222 EMS server URL HawkConstants.HAWK_EMS_USERNAMENo null EMS username HawkConstants.HAWK_EMS_PWDNo null EMS password HawkConstants.HAWK_SSL_PARAMSNo null A Java Hashtable containing key/values as documented in TIBCO JMS document: com.tibco.tibjms.TibjmsSSL.<prop> and its value - Since:
- 5.0
-
TIBHawkConsole
-
-
Method Details
-
getAgentMonitor
Returns the agent monitor. The agent monitor may be used to listen to TIB/Hawk agent monitoring events.- Returns:
- The agent monitor.
-
getAgentManager
Returns the agent manager. The agent manager may be used to interact with TIB/Hawk agents and their microagents.- Returns:
- The agent manager.
-
setCharacterEncoding
Sets the character encoding used by the TIBCO Rendezvous daemon See TIBCO Rendezvous documentation- Throws:
UnsupportedEncodingException
-
main
-