be.ac.ulg.montefiore.run.totem.scenario.model
Class LoadDistantDomain

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.EventTypeImpl
      extended by be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LoadDistantDomainTypeImpl
          extended by be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LoadDistantDomainImpl
              extended by be.ac.ulg.montefiore.run.totem.scenario.model.LoadDistantDomain
All Implemented Interfaces:
Event, EventType, LoadDistantDomain, LoadDistantDomainType, UnmarshallableObject, ValidatableObject, XMLSerializable, com.sun.xml.bind.JAXBObject, com.sun.xml.bind.RIElement, javax.xml.bind.Element

public class LoadDistantDomain
extends LoadDistantDomainImpl
implements Event

Load a domain from network. The toolbox will act as a client, connects to a server on specified host and waits for the XML text correponding to the topology. The port on which to connect can be specified. If not, the default port defined in the DomainFactory.DEFAULT_PORT constant will be used.

Creation date: 3 oct. 2006

Author:
Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)

Nested Class Summary
 
Nested classes/interfaces inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LoadDistantDomainImpl
LoadDistantDomainImpl.Unmarshaller
 
Field Summary
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LoadDistantDomainImpl
version
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LoadDistantDomainTypeImpl
_Host, _Port, has_Port
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.EventTypeImpl
_Time
 
Constructor Summary
LoadDistantDomain()
           
LoadDistantDomain(java.lang.String host)
           
LoadDistantDomain(java.lang.String host, int port)
           
 
Method Summary
 EventResult action()
          This method must be implemented by each event.
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LoadDistantDomainImpl
____jaxb_ri____getLocalName, ____jaxb_ri____getNamespaceURI, createRawValidator, createUnmarshaller, getPrimaryInterface, serializeAttributes, serializeBody, serializeURIs
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.LoadDistantDomainTypeImpl
getHost, getPort, isSetHost, isSetPort, setHost, setPort, unsetHost, unsetPort
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.impl.EventTypeImpl
getTime, isSetTime, setTime, unsetTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.LoadDistantDomainType
getHost, getPort, isSetHost, isSetPort, setHost, setPort, unsetHost, unsetPort
 
Methods inherited from interface be.ac.ulg.montefiore.run.totem.scenario.model.jaxb.EventType
getTime, isSetTime, setTime, unsetTime
 

Constructor Detail

LoadDistantDomain

public LoadDistantDomain()

LoadDistantDomain

public LoadDistantDomain(java.lang.String host,
                         int port)

LoadDistantDomain

public LoadDistantDomain(java.lang.String host)
Method Detail

action

public EventResult action()
                   throws EventExecutionException
This method must be implemented by each event. This method contains what must be done to process the event.

Specified by:
action in interface Event
Throws:
EventExecutionException


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.