All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnet.remote.RemoteServerName

java.lang.Object
   |
   +----vnet.remote.RemoteServerName

public class RemoteServerName
extends Object
Class to manage the server Names in the remote VirtualNet All the operations needs to have a serverName. This string may be the plain server Name, or a qualified one, specifying the host for the server; in this last case, the string starts with '/', and the expected format is:

/name of the virtualNet/HostN/name of the server.

For example, to look for the server "Server" in the Host B of the virtualNet called "ExampleNet", the serverName would be: /ExampleNet/HostB/Server

Version:
0.2, august-1997
Author:
LuisM Pena

Constructor Index

 o RemoteServerName(String, String)
Checks that the serverName is valid,

Method Index

 o getNode()
 o getServerName()

Constructors

 o RemoteServerName
 public RemoteServerName(String serverName,
                         String virtualNetName) throws MalformedURLException, UnknownHostException
Checks that the serverName is valid,

Parameters:
serverName - the name to verify
virtualNetName - The name of the virtualNet using this class
Throws: MalformedURLException
if is not a valid string
Throws: UnknownHostException
if the host specified is not valid

Methods

 o getServerName
 public String getServerName()
 o getNode
 public NodeId getNode()

All Packages  Class Hierarchy  This Package  Previous  Next  Index