All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

A

addLink(LinkId, NodeId, NodeId). Method in class vnet.NetLayout
Inserts a new link in the net, with the default delay The observers of the netlayout will receive a VirtualNetEvent notification, with the new link inside
addLink(LinkId, NodeId, NodeId). Method in interface vnet.remote.VirtualNetIntf
Inserts a new link in the net, with the default delay
addLink(LinkId, NodeId, NodeId). Method in class vnet.remote.VirtualNetRemote
Inserts a new link in the net, with the default delay
addLink(LinkId, NodeId, NodeId, long). Method in class vnet.NetLayout
Inserts a new link in the net, with the specified delay The observers of the netlayout will receive a VirtualNetEvent notification, with the new link inside
addLink(LinkId, NodeId, NodeId, long). Method in interface vnet.remote.VirtualNetIntf
Inserts a new link in the net, with the default delay
addLink(LinkId, NodeId, NodeId, long). Method in class vnet.remote.VirtualNetRemote
Inserts a new link in the net, with the default delay
addLink(NetLink). Method in class vnet.NetNode
Associates a new link
addNode(NodeId). Method in class vnet.NetLayout
Inserts a new node in the net, with the default delay The observers of the netlayout will receive a VirtualNetEvent notification, with the new node inside
addNode(NodeId). Method in interface vnet.remote.VirtualNetIntf
Inserts a new node in the net, with the default delay
addNode(NodeId). Method in class vnet.remote.VirtualNetRemote
Inserts a new node in the net, with the default delay
addNode(NodeId, long). Method in class vnet.NetLayout
Inserts a new node in the net, with the specified delay The observers of the netlayout will receive a VirtualNetEvent notification, with the new node inside
addNode(NodeId, long). Method in class vnet.remote.VirtualNet
Inserts a new node in the net, with the specified delay The observers of the netlayout will receive a VirtualNetEvent notification, with the new node inside
addNode(NodeId, long). Method in interface vnet.remote.VirtualNetIntf
Inserts a new node in the net, with the specified delay
addNode(NodeId, long). Method in class vnet.remote.VirtualNetRemote
Inserts a new node in the net, with the specified delay
AlreadyBoundException(String). Constructor for class vnet.AlreadyBoundException
This constructor is used when the name of the server being binded is already busy (there is another server binded with this name)

B

bind(NodeId, String, VirtualRemote). Method in class vnet.local.VirtualNet
Binds a server with the serverName specified to the node with identity id;
bind(String, Object, NetNode). Method in class vnet.NetNode
Binds a server with a server name to this node The observers of the node will receive a BindEvent notification
bind(String, Remote). Method in interface vnet.remote.Host
Binds a server with the serverName specified
bind(String, Remote). Method in class vnet.remote.HostImpl
Binds a server with the serverName specified
BindedServer(Object, NetNode). Constructor for class vnet.BindedServer
BindEvent(String, boolean). Constructor for class vnet.BindEvent
BindException(String). Constructor for class vnet.BindException
build(String). Method in interface vnet.remote.VirtualNetIntf
Building of the net from a string
build(String). Method in class vnet.remote.VirtualNetRemote
Building of the net from a string
buildNet(String). Method in class vnet.BuildNetLayout
Process the string and builds the net.
BuildNetLayout(NetLayout). Constructor for class vnet.BuildNetLayout
Basic constructor
BuildNetLayout(String, NetLayout). Constructor for class vnet.BuildNetLayout
Extended constructor, it allows to specify an string to be processed

C

checkWay(). Method in class vnet.remote.RemoteClass
checkWay(). Method in class vnet.local.VirtualRemoteClass
checkWay(NetNode, BindedServer). Method in class vnet.NetNode
Checks that there is a way to the final node, and that in the final node the server is alive.
ClassVNetException(String). Constructor for class vnet.local.ClassVNetException
This constructor is used when the VNet Stub class is not valid
ClassVNetException(String, Exception). Constructor for class vnet.local.ClassVNetException
This constructor is used when an exception is produced while loading the VNet Stub class.
CommException(). Constructor for class vnet.CommException
This constructor is used for a general Communication Exception
CommException(Exception). Constructor for class vnet.CommException
This constructor is used to create a communication exception produced by a not virtual net exception
CommException(Object). Constructor for class vnet.CommException
This constructor is used when the server has been unbinded
componentHidden(ComponentEvent). Method in class vnet.display.GraphCanvas
componentMoved(ComponentEvent). Method in class vnet.display.GraphCanvas
componentResized(ComponentEvent). Method in class vnet.display.GraphCanvas
componentShown(ComponentEvent). Method in class vnet.display.GraphCanvas
console(String). Method in class vnet.display.ConsoleNet
Output of the consoleNet.
ConsoleNet(NetLayout). Constructor for class vnet.display.ConsoleNet
ConsoleNetFrame(NetLayout, String, Dimension). Constructor for class vnet.display.ConsoleNetFrame

D

destroy(). Method in class vnet.display.ConsoleNet
Destructor: clean up all its observables
destroy(). Method in class vnet.ListBindsNet
Destructor, needed to clean up the observables
destroy(). Method in class vnet.NetLayout
This is the destructor: destroy the nodes of the net, who destroy themselves the links, notifying all this events to the observes.
destroy(). Method in class vnet.NetLink
Destructor of the link: notifies it to the nodes associated to the link The observers of the node will receive a LinkDestroyedEvent notification The list of observers is cleared
destroy(). Method in class vnet.NetNode
Destructor of the node: clears the associated links The observers of the node will receive a NodeDestroyedEvent notification The list of observers is cleared
destroy(). Method in class vnet.remote.VirtualNet
This is the destructor: detsroy the NetLayout and unbinds the VirtualNetRemote
dispose(). Method in class vnet.display.ConsoleNetFrame
Allows the destruction of the ConsoleNet, and its cleaning up
draw(Graphics, boolean). Method in class vnet.display.GraphNet
Draws the net, drawing each of the nodes and links

E

equals(Object). Method in class vnet.BindedServer
equals(Object). Method in class vnet.LinkId
equals(Object). Method in class vnet.NodeId

G

getHostNodes(). Method in class vnet.ListBindsNet
Gets the Nodes in the network that have servers binded
getId(). Method in class vnet.LinkId
getId(). Method in class vnet.NetLink
Returns the identity of the Link
getId(). Method in class vnet.NetNode
Returns the identity of the Node
getId(). Method in class vnet.NodeId
getInfo(). Static method in class vnet.remote.prg.VersionInfo
getLinks(). Method in class vnet.NetLayout
Gets the links included in the net
getLinks(). Method in class vnet.NetNode
Gets the Links associated to the node (its communicationc channels)
getName(). Method in class vnet.remote.VirtualNet
Gives the name of the net
getName(). Method in interface vnet.remote.VirtualNetIntf
Gives the name of the net
getName(). Method in class vnet.remote.VirtualNetRemote
Gives the name of the net
getNode(). Method in class vnet.remote.RemoteServerName
getNode(NodeId). Method in class vnet.NetLayout
Gets the NetNode of the net with the specified id
getNodeA(). Method in class vnet.NetLink
Returns the first of the nodes associated to the link
getNodeB(). Method in class vnet.NetLink
Returns the second node associated to the link
getNodes(). Method in class vnet.NetLayout
Gets the nodes included in the net
getObservable(). Method in class vnet.VirtualNetEvent
getPosition(NodeId). Method in class vnet.display.GraphGeometry
Gets the position (relative position, between 0 and 1) for a Node
getPosition(NodeId). Method in class vnet.display.GraphGeometryCircle
Gets the position (relative position, between 0 and 1) for a Node
getPosition(NodeId). Method in class vnet.display.GraphGeometryNet
Gets the position (relative position, between 0 and 1) for a Node
getPosition(NodeId, NodeId). Method in class vnet.display.GraphGeometry
Gets the line (relative sizes, between 0 and 1) for a link between two nodes
getPreferredSize(). Method in class vnet.display.GraphCanvas
getRadiusX(). Method in class vnet.display.GraphGeometry
Gets the radiusX (relative size, between 0 and 1) for each node.
getRadiusX(). Method in class vnet.display.GraphGeometryCircle
Gets the radiusX (relative size, between 0 and 1) for each node.
getRadiusX(). Method in class vnet.display.GraphGeometryNet
Gets the radiusX (relative size, between 0 and 1) for each node.
getRadiusY(). Method in class vnet.display.GraphGeometry
Gets the radiusY (relative size, between 0 and 1) for each node.
getRadiusY(). Method in class vnet.display.GraphGeometryCircle
Gets the radiusY (relative size, between 0 and 1) for each node.
getRadiusY(). Method in class vnet.display.GraphGeometryNet
Gets the radiusY (relative size, between 0 and 1) for each node.
getServerName(). Method in class vnet.BindEvent
Gets the name of server whose binding or unbinding has produced the event
getServerName(). Method in class vnet.remote.RemoteServerName
getServers(). Method in class vnet.NetNode
Gets the servers binded to the node
getServers(NodeId). Method in class vnet.ListBindsNet
Gets the name of the servers binded to an specific Node
GraphCanvas(GraphNet, long, Dimension). Constructor for class vnet.display.GraphCanvas
GraphGeometry(). Constructor for class vnet.display.GraphGeometry
GraphGeometryCircle(). Constructor for class vnet.display.GraphGeometryCircle
GraphGeometryNet(). Constructor for class vnet.display.GraphGeometryNet
GraphMain(boolean, String, long, Dimension, Dimension, Dimension, long, int, String, String, boolean, boolean, boolean, boolean, String). Constructor for class vnet.remote.prg.GraphMain
GraphNet(NetLayout, GraphGeometry). Constructor for class vnet.display.GraphNet
GraphNet(NetLayout, GraphGeometry, int). Constructor for class vnet.display.GraphNet
GraphNetFrame(GraphNet, String, Dimension). Constructor for class vnet.display.GraphNetFrame
GraphNetFrame(GraphNet, String, Dimension, long). Constructor for class vnet.display.GraphNetFrame

H

hashCode(). Method in class vnet.LinkId
hashCode(). Method in class vnet.NodeId
HostImpl(VirtualNet, NetNode). Constructor for class vnet.remote.HostImpl
Create a host for the specified Node
hostNode. Variable in class vnet.BindedServer
the NetNode where this server is hosted (it can be different from the node where it is binded)

I

isBinded(). Method in class vnet.BindEvent
Gets the type of event: binding or unbinding
isValidVNName(String). Static method in class vnet.remote.VirtualNet
Checks if a name is a valid virtual name.

L

LinkDestroyedEvent(). Constructor for class vnet.LinkDestroyedEvent
LinkEvent(). Constructor for class vnet.LinkEvent
LinkId(int). Constructor for class vnet.LinkId
list(String). Method in interface vnet.remote.Host
Gives the complete list of servers binded.
list(String). Method in class vnet.remote.HostImpl
Gives the complete list of servers binded.
ListBindsFrame(ListBindsNet, String, Dimension). Constructor for class vnet.display.ListBindsFrame
ListBindsList(ListBindsNet, List). Constructor for class vnet.display.ListBindsList
ListBindsNet(NetLayout). Constructor for class vnet.ListBindsNet
lookup(NodeId, String). Method in class vnet.local.VirtualNet
Looks the net for a server binded with the serverName specified.
lookup(NodeId, String, NodeId). Method in class vnet.local.VirtualNet
Looks the net for a server binded with the serverName specified in the node given.
lookup(String). Method in interface vnet.remote.Host
Looks the net for a server binded with the serverName specified.
lookup(String). Method in class vnet.remote.HostImpl
Looks the net for a server binded with the serverName specified.
lookup(String). Method in class vnet.NetNode
Starts the searching of a server in the net, returning a virtual path to that server, or null if it is not found.
lookup(String, NetNode). Method in class vnet.NetNode
Starts the searching of a server on an specified node in the net, returning a virtual path to that server, or null if it is not found.
LookupOnLinkEvent(). Constructor for class vnet.LookupOnLinkEvent
LookupOnNodeEvent(). Constructor for class vnet.LookupOnNodeEvent

M

Main(). Constructor for class vnet.remote.prg.Main
main(String[]). Static method in class vnet.remote.prg.GraphMain
The options for the initialization are:

Arguments: [options] [VirtualNetName]

Options:

-start : initializa directly a VirtualNet

-delay=n : timems of delay in each node and link

-bsize=w,h: size of the BindServers window

-csize=w,h : size of the Console Window

-gsize=w,h : size of the Graph Windows

-gupdate=n : timems to update the graphs

-gremain=m : number of times needed to change the state

if start is present, next options are also available:

-init=cad : initializacion string.

main(String[]). Static method in class vnet.remote.prg.Main
main(String[]). Static method in class vnet.local.vnc
main(String[]). Static method in class vnet.remote.vnc

N

NetLayout(). Constructor for class vnet.NetLayout
Default constructor
NetLayout(long). Constructor for class vnet.NetLayout
This constructor allows to specify the default delay that will apply for the nodes and links in the net.
NetLink(LinkId, NetNode, NetNode, long). Constructor for class vnet.NetLink
NetNode(NodeId, long). Constructor for class vnet.NetNode
NodeDestroyedEvent(). Constructor for class vnet.NodeDestroyedEvent
NodeEvent(). Constructor for class vnet.NodeEvent
nodeFinal. Variable in class vnet.VirtualPath
The node final in the communication involving this path
NodeId(String). Constructor for class vnet.NodeId
nodeInitial. Variable in class vnet.VirtualPath
The node initial in the communication involving this path
NotBoundException(String). Constructor for class vnet.NotBoundException
This constructor is used when the name of the server is not found

O

object. Variable in class vnet.BindedServer
The object (server) wrapped

P

paint(Graphics). Method in class vnet.display.GraphCanvas
Path. Variable in class vnet.remote.RemoteClass
Path. Variable in class vnet.local.VirtualRemoteClass

R

rebind(NodeId, String, VirtualRemote). Method in class vnet.local.VirtualNet
Binds a server with the serverName specified to the node with identity id, no matter if the servername is already in use
rebind(String, Object, NetNode). Method in class vnet.NetNode
Bind a server with a server name to this node, no matter if the serverName is already used.
rebind(String, Remote). Method in interface vnet.remote.Host
Rebinds a server with the serverName specified If it would exist other server with the same serverName, it is first unbinded
rebind(String, Remote). Method in class vnet.remote.HostImpl
Rebinds a server with the serverName specified If it would exist other server with the same serverName, it is first unbinded
RemoteClass(). Constructor for class vnet.remote.RemoteClass
RemoteServerName(String, String). Constructor for class vnet.remote.RemoteServerName
Checks that the serverName is valid,
removeLink(LinkId). Method in class vnet.NetLayout
Removes a Link out of the net.
removeLink(LinkId). Method in interface vnet.remote.VirtualNetIntf
Removes a Link out of the net.
removeLink(LinkId). Method in class vnet.remote.VirtualNetRemote
Removes a Link out of the net.
removeLink(NetLink). Method in class vnet.NetNode
Removes a link
removeNode(NodeId). Method in class vnet.NetLayout
Removes a Node out of the net.
removeNode(NodeId). Method in interface vnet.remote.VirtualNetIntf
Removes a Node out of the net.
removeNode(NodeId). Method in class vnet.remote.VirtualNetRemote
Removes a Node out of the net.
reset(NodeId[]). Method in class vnet.display.GraphGeometry
A geometry can calculate the position of a node in function of the nodes already present.
reset(NodeId[]). Method in class vnet.display.GraphGeometryCircle
A geometry can calculate the position of a node in function of the nodes already present.
reset(NodeId[]). Method in class vnet.display.GraphGeometryNet
A geometry can calculate the position of a node in function of the nodes already present.

S

server. Variable in class vnet.VirtualPath
The server involved in this path
setNetDelay(long). Static method in class vnet.NetLayout
Sets an additional delay that applies to every message operation between nodes (and links)
setNetDelay(long). Method in interface vnet.remote.VirtualNetIntf
Sets an additional delay that applies to every message operation between nodes (and links)
setNetDelay(long). Method in class vnet.remote.VirtualNetRemote
Sets an additional delay that applies to every message operation between nodes (and links)
setSize(Dimension). Method in class vnet.display.GraphNet
Sets the correct size for the GraphNet.
setVirtualPath(VirtualPath). Method in class vnet.remote.RemoteClass
setVirtualPath(VirtualPath). Method in class vnet.local.VirtualRemoteClass
show(boolean). Method in class vnet.display.ListBindsList
This method is called to get an output in the list.

T

toString(). Method in class vnet.LinkId
toString(). Method in class vnet.NodeId
toString(). Method in class vnet.VNException

U

unbind(NodeId, String). Method in class vnet.local.VirtualNet
Unbinds the server that is binded with the serverName specified from the node given
unbind(String). Method in interface vnet.remote.Host
Unbinds the server that is binded with the serverName specified
unbind(String). Method in class vnet.remote.HostImpl
Unbinds the server that is binded with the serverName specified
unbind(String). Method in class vnet.NetNode
Unbinds the server with the server name specified, raising an exception if such a server doesn't exist in the node The observers of the node will receive a BindEvent notification
uniqueId. Variable in class vnet.BindedServer
The id, unique for each BindedServer object
update(). Method in class vnet.display.ListBindsList
This method is called to get an output in the list.
update(Graphics). Method in class vnet.display.GraphCanvas
update(Observable, Object). Method in class vnet.display.ConsoleNet
Observer method
update(Observable, Object). Method in class vnet.display.GraphCanvas
Observer method.
update(Observable, Object). Method in class vnet.display.GraphNet
Observer method.
update(Observable, Object). Method in class vnet.ListBindsNet
Observable method
update(Observable, Object). Method in class vnet.NetLayout
Observable method
update(Observable, Object). Method in class vnet.remote.VirtualNet
Observable method

V

VersionInfo(). Constructor for class vnet.remote.prg.VersionInfo
VirtualNet(). Constructor for class vnet.local.VirtualNet
Default constructor
VirtualNet(long). Constructor for class vnet.local.VirtualNet
This constructor allows to specify the default delay that will apply for the nodes and links in the net.
VirtualNet(String). Constructor for class vnet.remote.VirtualNet
VirtualNet(String, long). Constructor for class vnet.remote.VirtualNet
VirtualNetEvent(Observable). Constructor for class vnet.VirtualNetEvent
VirtualNetException(). Constructor for class vnet.VirtualNetException
VirtualNetException(String). Constructor for class vnet.VirtualNetException
VirtualNetRemote(VirtualNet). Constructor for class vnet.remote.VirtualNetRemote
VirtualPath(NetNode, BindedServer). Constructor for class vnet.VirtualPath
VirtualPath(NetNode, NetNode, BindedServer). Constructor for class vnet.VirtualPath
VirtualRemoteClass(). Constructor for class vnet.local.VirtualRemoteClass
vnc(String). Constructor for class vnet.local.vnc
vnc(String). Constructor for class vnet.remote.vnc
VNetEvent(). Constructor for class vnet.VNetEvent
VNException(). Constructor for class vnet.VNException
This constructor is used when the exception is produced by a NodeId null or with length=0;
VNException(boolean, String, boolean). Constructor for class vnet.VNException
This constructor is used when to manage the creation of a node/link that already exists, or the removing of a node/link not allowing to the net.
VNException(char). Constructor for class vnet.VNException
This constructor is used when the exception is produced by a NodeId not valid
VNException(String). Constructor for class vnet.VNException
General constructor
VNRemoteException(String). Constructor for class vnet.remote.VNRemoteException
VNRemoteException(String, Exception). Constructor for class vnet.remote.VNRemoteException