net.sf.crispy.impl.corba
Class MiniCorbaServer

java.lang.Object
  extended bynet.sf.crispy.impl.corba.MiniCorbaServer
All Implemented Interfaces:
MiniServer

public class MiniCorbaServer
extends java.lang.Object
implements MiniServer


Field Summary
static java.lang.String HOST
           
protected static org.apache.commons.logging.Log log
           
static int PORT
           
 
Constructor Summary
MiniCorbaServer()
           
MiniCorbaServer(int pvPort)
           
MiniCorbaServer(java.lang.String pvHost, int pvPort)
           
 
Method Summary
 void addService(java.lang.String pvLookName, java.lang.Object pvServiceObject)
           
 void addService(java.lang.String pvServiceInterface, java.lang.String pvServiceObject)
          Add services to the server
 java.lang.String getHost()
           
 int getPort()
           
static void main(java.lang.String[] args)
           
 void start()
          Start the Server.
 void stop()
          Stop the Server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORT

public static final int PORT
See Also:
Constant Field Values

HOST

public static final java.lang.String HOST
See Also:
Constant Field Values

log

protected static final org.apache.commons.logging.Log log
Constructor Detail

MiniCorbaServer

public MiniCorbaServer()

MiniCorbaServer

public MiniCorbaServer(int pvPort)

MiniCorbaServer

public MiniCorbaServer(java.lang.String pvHost,
                       int pvPort)
Method Detail

getPort

public int getPort()

getHost

public java.lang.String getHost()

start

public void start()
Description copied from interface: MiniServer
Start the Server.

Specified by:
start in interface MiniServer

stop

public void stop()
Description copied from interface: MiniServer
Stop the Server.

Specified by:
stop in interface MiniServer

addService

public void addService(java.lang.String pvServiceInterface,
                       java.lang.String pvServiceObject)
Description copied from interface: MiniServer
Add services to the server

Specified by:
addService in interface MiniServer
Parameters:
pvServiceInterface - Interface of the service.
pvServiceObject - Implementation of the service.

addService

public void addService(java.lang.String pvLookName,
                       java.lang.Object pvServiceObject)

main

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


Copyright © 2005-2006 Crispy. All Rights Reserved.