blob: e8de0aaf2a0a01d5b47e40c7d53850c734bfda49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/*
* IvyHttpGatewayTest.java
* Created on 18 avril 2005, 20:25
*/
package fr.dgac.ivy.tools;
/**
* Dynamic tests of the light remote client for the Ivy HTTP Gateway.
* <br><br>
*
* <strong>License:</strong><br>
*
* See IvyHttpGatewayServlet
*
* @see IvyHttpGatewayClient
* @see IvyHttpGatewayServlet
* @see fr.dgac.ivy
* @author Francis JAMBON - CLIPS-IMAG/MultiCom
* @version See IvyHttpGatewayClient
*/
public class IvyHttpGatewayTest {
/**
* Main method: for testing purpose.
* @param args command line arguments (not used)
*/
public static void main(String[] args) {
System.out.println("### START OF TEST ###");
IvyHttpGatewayClient test = new IvyHttpGatewayClient(
"test",
"http://localhost:8084/Ivy-HttpGateway/IvyHttpGatewayServlet");
test.start(
"228.1.2.4:5678");
test.sendMsg(
"hello");
test.stop();
System.out.println("### END OF TEST ###");
}
}
|