javaSim.directServer
Class EFServer

java.lang.Object
  extended by javaSim.directServer.EFServer

public class EFServer
extends java.lang.Object

Server of the model DevsBridge model adapter of a DevsJava experimental frame (ef).

Publishes the CORBA object at naming service with name expf1.

Adjust the Settings of finding the NamingService by copying the file exec/serverSetup.xml into the execution directory, and adjust the entry "NamingHostPort".

Author:
twutz
See Also:
for an example usage of this ef.

Field Summary
(package private) static genDevs.devsBridge.ORBHelper.ORBInfo orbInfo
           
 
Constructor Summary
EFServer(java.lang.String[] args)
           
 
Method Summary
protected  devsBridge.DevsInit getProxy(devsBridge.DevsInitOperations server)
           
static void main(java.lang.String[] args)
           
protected  java.lang.String publishCorbaObject(org.omg.CORBA.Object href, java.lang.String name)
           
protected  void run()
           
 java.lang.String serveAtomic(genDevs.devsBridge.atomicExt.InitializeableAtomic server, genDevs.devsBridge.translator.MessageTranslator trans, java.lang.String name)
           
 java.lang.String serveCoupled(genDevs.devsBridge.atomicExt.InitializeableDigraph server, genDevs.devsBridge.translator.MessageTranslator trans, java.lang.String name)
           
 java.lang.String serveDevs(devsBridge.DevsInitOperations server, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

orbInfo

static genDevs.devsBridge.ORBHelper.ORBInfo orbInfo
Constructor Detail

EFServer

public EFServer(java.lang.String[] args)
         throws org.omg.CORBA.UserException
Throws:
org.omg.CORBA.UserException
Method Detail

main

public static void main(java.lang.String[] args)

serveCoupled

public java.lang.String serveCoupled(genDevs.devsBridge.atomicExt.InitializeableDigraph server,
                                     genDevs.devsBridge.translator.MessageTranslator trans,
                                     java.lang.String name)
                              throws org.omg.CORBA.UserException
Throws:
org.omg.CORBA.UserException

serveAtomic

public java.lang.String serveAtomic(genDevs.devsBridge.atomicExt.InitializeableAtomic server,
                                    genDevs.devsBridge.translator.MessageTranslator trans,
                                    java.lang.String name)
                             throws org.omg.CORBA.UserException
Throws:
org.omg.CORBA.UserException

serveDevs

public java.lang.String serveDevs(devsBridge.DevsInitOperations server,
                                  java.lang.String name)
                           throws org.omg.CORBA.UserException
Throws:
org.omg.CORBA.UserException

publishCorbaObject

protected java.lang.String publishCorbaObject(org.omg.CORBA.Object href,
                                              java.lang.String name)
                                       throws org.omg.CORBA.UserException
Throws:
org.omg.CORBA.UserException

run

protected void run()

getProxy

protected devsBridge.DevsInit getProxy(devsBridge.DevsInitOperations server)
                                throws org.omg.CORBA.UserException
Throws:
org.omg.CORBA.UserException