com.ls.lars.server
Class AgentSynchronization.LarsPlatformRepresentation

java.lang.Object
  |
  +--com.ls.lars.server.AgentSynchronization.LarsPlatformRepresentation
All Implemented Interfaces:
Serializable
Enclosing class:
AgentSynchronization

protected class AgentSynchronization.LarsPlatformRepresentation
extends Object
implements Serializable

Inner class that represents lars remote platforms.

Version:
$Revision: 1.10 $
Author:
Last modified by $Author: MHeitz $
See Also:
Serialized Form

Constructor Summary
protected AgentSynchronization.LarsPlatformRepresentation(Map platformMap)
          Constructor receiving the remote platform information as a map.
 
Method Summary
protected  String getPlatformAccess()
          Gets the kind of access of the remote platform.
protected  Map getPlatformConnectionParameters()
          Gets the connection paramters for the remote platform connection.
protected  String getPlatformConnectionType()
          Gets the kind of connection the remote platform is connected to the local platform.
protected  String getPlatformIP()
          Gets the ip of the remote platform.
protected  String getPlatformName()
          Gets the name of the remote platform.
protected  int getPlatformPort()
          Gets the port of the remote platform.
protected  void setPlatformAccess(String access)
          Sets the access of the remote platform.
protected  void setPlatformConnectionParameters(Map connectionParameters)
          Sets the connection parameters to connected to the remote platform.
protected  Map toMap()
          Gets the map representation of the remote platform.
 String toString()
          Class member variables to string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AgentSynchronization.LarsPlatformRepresentation

protected AgentSynchronization.LarsPlatformRepresentation(Map platformMap)
Constructor receiving the remote platform information as a map.
Parameters:
map - A map of a lars platforms is given.
Method Detail

setPlatformAccess

protected void setPlatformAccess(String access)
Sets the access of the remote platform.
Parameters:
access - Sets the access type of lars platforms (e.g. public).

setPlatformConnectionParameters

protected void setPlatformConnectionParameters(Map connectionParameters)
Sets the connection parameters to connected to the remote platform.
Parameters:
connectionParameters - Sets the connection paramters to a raccess type of lars platforms (e.g. public).

getPlatformName

protected String getPlatformName()
Gets the name of the remote platform.
Returns:
Returns the name of the platform.

getPlatformIP

protected String getPlatformIP()
Gets the ip of the remote platform.
Returns:
Returns the ip address of the platform.

getPlatformPort

protected int getPlatformPort()
Gets the port of the remote platform.
Returns:
Returns the port number. Port to make a connection to this platform.

getPlatformAccess

protected String getPlatformAccess()
Gets the kind of access of the remote platform.
Returns:
Returns the access type of the platform (e.g. public).

getPlatformConnectionType

protected String getPlatformConnectionType()
Gets the kind of connection the remote platform is connected to the local platform.
Returns:
Returns the connection type of the platform (e.g. socket).

getPlatformConnectionParameters

protected Map getPlatformConnectionParameters()
Gets the connection paramters for the remote platform connection.
Returns:
Returns the connection parameters of the remote platform.

toMap

protected Map toMap()
Gets the map representation of the remote platform.
Returns:
Returns the platform representation as a map.

toString

public String toString()
Class member variables to string.
Overrides:
toString in class Object
Returns:
Returns the platform representation as a string.