public class PingableClientFactory extends java.lang.Object implements ConnectionConstants
DEFAULT_ADAPTER_PORT, DEFAULT_ENGINE_PORT, DEFAULT_HOST, DEFAULT_PORT, DEFAULT_PROCESS_NAME
Modifier and Type | Method and Description |
---|---|
static PingableClient |
connectToServer(java.lang.String host,
int port)
This static method attempts to establish a connection to a
Server using TCP/HTTP.
|
public static PingableClient connectToServer(java.lang.String host, int port) throws com.apama.util.CompoundException
host
- The machine name where a Server can be located.port
- The port that the Server is listening on for transport negotiations with the client.com.apama.util.CompoundException
- Thrown if any exceptions occur in the Client SDK.Submit a bug or feature
Copyright (c) 2013-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.