summaryrefslogtreecommitdiff
path: root/java/demo/IceBox/hello/Client.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2003-10-28 17:08:11 +0000
committerMark Spruiell <mes@zeroc.com>2003-10-28 17:08:11 +0000
commita65b5e64b679e28a938dd7b51d931d0689eda35c (patch)
tree942c19c5d5ab330c8573f0b3c76e65c9c00249aa /java/demo/IceBox/hello/Client.java
parentforce server to use config file (diff)
downloadice-a65b5e64b679e28a938dd7b51d931d0689eda35c.tar.bz2
ice-a65b5e64b679e28a938dd7b51d931d0689eda35c.tar.xz
ice-a65b5e64b679e28a938dd7b51d931d0689eda35c.zip
removing secure option
Diffstat (limited to 'java/demo/IceBox/hello/Client.java')
-rw-r--r--java/demo/IceBox/hello/Client.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/java/demo/IceBox/hello/Client.java b/java/demo/IceBox/hello/Client.java
index ec2d75184a9..4c19fe4ad54 100644
--- a/java/demo/IceBox/hello/Client.java
+++ b/java/demo/IceBox/hello/Client.java
@@ -26,7 +26,6 @@ public class Client
"D: send greeting as batch datagram\n" +
"f: flush all batch requests\n" +
"T: set a timeout\n" +
- "S: switch secure mode on/off\n" +
"x: exit\n" +
"?: help\n");
}
@@ -55,7 +54,6 @@ public class Client
HelloPrx datagram = HelloPrxHelper.uncheckedCast(twoway.ice_datagram());
HelloPrx batchDatagram = HelloPrxHelper.uncheckedCast(twoway.ice_batchDatagram());
- boolean secure = false;
int timeout = -1;
menu();
@@ -122,25 +120,6 @@ public class Client
System.out.println("timeout is now set to 2000ms");
}
}
- else if(line.equals("S"))
- {
- secure = !secure;
-
- twoway = HelloPrxHelper.uncheckedCast(twoway.ice_secure(secure));
- oneway = HelloPrxHelper.uncheckedCast(oneway.ice_secure(secure));
- batchOneway = HelloPrxHelper.uncheckedCast(batchOneway.ice_secure(secure));
- datagram = HelloPrxHelper.uncheckedCast(datagram.ice_secure(secure));
- batchDatagram = HelloPrxHelper.uncheckedCast(batchDatagram.ice_secure(secure));
-
- if(secure)
- {
- System.out.println("secure mode is now on");
- }
- else
- {
- System.out.println("secure mode is now off");
- }
- }
else if(line.equals("x"))
{
// Nothing to do