|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--springs.tests.Test
Tests using the Springs agent platform.
Field Summary | |
static java.lang.String |
CODEBASE
|
static java.lang.String |
CONTEXT_LOG_FILENAME
|
static java.lang.String |
LOCAL_CONTEXT_NAME
|
static int |
PORT_CLASS_SERVER
|
static int |
PORT1
|
static java.lang.String |
RNS_ADDRESS
|
Constructor Summary | |
Test()
|
Method Summary | |
static void |
main(java.lang.String[] args)
Main method. |
private static void |
test1()
Creates a context in port PORT1 and a SpringsHelloAgent there. |
private static void |
test2()
Creates a context in port PORT1 and a MovingSpringsHelloAgent there. |
private static void |
test3()
Checks the naming service. |
private static void |
test4()
Checks the naming service and the dynamic proxies with one agent moving and another static: the target agent of the invokations moves. |
private static void |
test5()
Test 5. |
private static void |
test6()
Checks the naming service and the dynamic proxies with one agent moving and another static: the target agent of the invokations moves. |
private static void |
test7()
Tries to create two agents with the same name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int PORT1
public static final int PORT_CLASS_SERVER
public static final java.lang.String CODEBASE
public static final java.lang.String LOCAL_CONTEXT_NAME
public static final java.lang.String RNS_ADDRESS
public static final java.lang.String CONTEXT_LOG_FILENAME
Constructor Detail |
public Test()
Method Detail |
private static void test1() throws java.lang.Exception
java.lang.Exception
- if error.Exception
private static void test2() throws java.lang.Exception
java.lang.Exception
- if error.Exception
private static void test3() throws java.lang.Exception
java.lang.Exception
- if error.Exception
private static void test4() throws java.lang.Exception
java.lang.Exception
- if error.Exception
private static void test5() throws java.lang.Exception
java.lang.Exception
- if error.Exception
private static void test6() throws java.lang.Exception
java.lang.Exception
- if error.Exception
private static void test7() throws java.lang.Exception
java.lang.Exception
- if error.Exception
public static void main(java.lang.String[] args)
args
- arguments.String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |