oracle.jbo.jbotester.server
Class Server
java.lang.Object
oracle.jbo.jbotester.server.Server
- All Implemented Interfaces:
- CommandHandler
public final class Server
- extends java.lang.Object
- implements CommandHandler
- Since:
- 11
- Version:
- $Header: bc4jrt/modules/bc4j-tester/src/oracle/jbo/jbotester/server/Server.java /main/4 2009/02/19 07:04:17 rvangri Exp $
Method Summary |
java.io.Serializable |
handleCommand(Agent agent)
|
void |
logMessage(java.lang.String msg)
|
static void |
run(javax.swing.JFrame frame)
This method is invoked by the tested process as soon as it establishes
the (socket) connection. |
void |
terminate()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PORT_PROPERTY
public static final java.lang.String PORT_PROPERTY
- See Also:
- Constant Field Values
JDEV_PORT
public static final java.lang.String JDEV_PORT
- See Also:
- Constant Field Values
JDEV_RANGE
public static final java.lang.String JDEV_RANGE
- See Also:
- Constant Field Values
run
public static void run(javax.swing.JFrame frame)
- This method is invoked by the tested process as soon as it establishes
the (socket) connection.
This method then attaches a listener to the frame, waiting for the frame
to show. Once shown, the test server is started and the test commands
can be processed.
- Parameters:
frame
-
handleCommand
public java.io.Serializable handleCommand(Agent agent)
- Specified by:
handleCommand
in interface CommandHandler
terminate
public void terminate()
- Specified by:
terminate
in interface CommandHandler
logMessage
public void logMessage(java.lang.String msg)
- Specified by:
logMessage
in interface CommandHandler
Copyright © 1997, 2009, Oracle. All rights reserved.