aboutsummaryrefslogtreecommitdiff
path: root/src/IvyHttpGatewayTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/IvyHttpGatewayTest.java')
-rw-r--r--src/IvyHttpGatewayTest.java42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/IvyHttpGatewayTest.java b/src/IvyHttpGatewayTest.java
new file mode 100644
index 0000000..e8de0aa
--- /dev/null
+++ b/src/IvyHttpGatewayTest.java
@@ -0,0 +1,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>
+ * &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ * 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 ###");
+ }
+
+}