TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.tptp.platform.execution.client.core
Class ConnectionInfo

java.lang.Object
  extended byorg.eclipse.tptp.platform.execution.client.core.ConnectionInfo
Direct Known Subclasses:
SecureConnectionInfo

public class ConnectionInfo
extends java.lang.Object

ConnectionInfo provides the object to encapsulate connection attributes required by INode to connect to the Agent Controller.

Provisional API: This API is subject to change in the next release.

Constructor Summary
ConnectionInfo()
          ConnectionInfo constructor
 
Method Summary
 java.lang.String getHostName()
          Get Host Name
 int getPort()
          Get the Port Number
 java.lang.String getProtocol()
          Get Protocol for communication
 boolean isAgentControllerNew()
          Get the Agent Controller Type
 void setHostName(java.lang.String hostname)
          Set Host Name
 void setPort(int port)
          Set the Port Number
 void setProtocol(java.lang.String protocol)
          Set the Protocol for communication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionInfo

public ConnectionInfo()
ConnectionInfo constructor

Method Detail

getHostName

public java.lang.String getHostName()
Get Host Name

Returns:
String

setHostName

public void setHostName(java.lang.String hostname)
Set Host Name

Parameters:
hostname -

getPort

public int getPort()
Get the Port Number

Returns:
int

setPort

public void setPort(int port)
Set the Port Number

Parameters:
port -

getProtocol

public java.lang.String getProtocol()
Get Protocol for communication


setProtocol

public void setProtocol(java.lang.String protocol)
Set the Protocol for communication


isAgentControllerNew

public boolean isAgentControllerNew()
Get the Agent Controller Type


TPTP 4.2.0 Platform Project
Public API Specification