Server Session -------------------------- F:\IceJ-1.0.0\demo\Ice\hello>java -classpath classes;F:/IceJ-1.0.0/lib/ice.jar S erver [ Network: attempting to bind to tcp socket 192.168.0.101:10000 ] [ Network: accepting tcp connections at 192.168.0.101:10000 ] [ Network: accepted tcp connection local address = 0.0.0.0:10000 remote address = 192.168.0.101:2742 ] [ Protocol: sending validate connection message type = 3 (validate connection) message size = 7 ] [ Network: sent 7 of 7 bytes via tcp local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] [ Network: received 7 of 7 bytes via tcp local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] [ Network: received 35 of 35 bytes via tcp local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] [ Protocol: received request message type = 0 (request) message size = 42 request id = 1 identity = hello facet = operation = ice_isA nonmutating = true context = ] [ Protocol: sending reply message type = 2 (reply) message size = 18 request id = 1 reply status = 0 (ok) ] [ Network: sent 18 of 18 bytes via tcp local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] [ Network: received 7 of 7 bytes via tcp local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] [ Network: received 28 of 28 bytes via tcp local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] [ Protocol: received request message type = 0 (request) message size = 35 request id = 2 identity = hello facet = operation = sayHello nonmutating = true context = ] Hello World! [ Protocol: sending reply message type = 2 (reply) message size = 17 request id = 2 reply status = 0 (ok) ] [ Network: sent 17 of 17 bytes via tcp local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] [ Network: received 7 of 7 bytes via tcp local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] [ Network: received 28 of 28 bytes via tcp local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] [ Protocol: received request message type = 0 (request) message size = 35 request id = 0 (oneway) identity = hello facet = operation = sayHello nonmutating = true context = ] Hello World! [ Network: received 7 of 7 bytes via tcp local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] [ Network: received 28 of 28 bytes via tcp local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] [ Protocol: received request message type = 0 (request) message size = 35 request id = 3 identity = hello facet = operation = shutdown nonmutating = false context = ] Shutting down... [ Network: stopping to accept tcp connections at 192.168.0.101:10000 ] [ Protocol: sending reply message type = 2 (reply) message size = 17 request id = 3 reply status = 0 (ok) ] [ Network: sent 17 of 17 bytes via tcp local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] [ Network: sent 7 of 7 bytes via tcp local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] [ Network: shutting down tcp connection local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] [ Network: closing tcp connection local address = 192.168.0.101:10000 remote address = 192.168.0.101:2742 ] F:\IceJ-1.0.0\demo\Ice\hello> ----------------------------------------------------------------------------------------------------------- Client Session ------------------------ F:\IceJ-1.0.0\demo\Ice\hello>java -classpath classes;F:/IceJ-1.0.0/lib/ice.jar C lient [ Network: trying to establish tcp connection to 192.168.0.101:10000 ] [ Network: tcp connection established local address = 0.0.0.0:2742 remote address = 192.168.0.101:10000 ] [ Network: received 7 of 7 bytes via tcp local address = 192.168.0.101:2742 remote address = 192.168.0.101:10000 ] [ Protocol: received validate connection message type = 3 (validate connection) message size = 7 ] [ Protocol: sending request message type = 0 (request) message size = 42 request id = 1 identity = hello facet = operation = ice_isA nonmutating = true context = ] [ Network: sent 42 of 42 bytes via tcp local address = 192.168.0.101:2742 remote address = 192.168.0.101:10000 ] [ Network: received 7 of 7 bytes via tcp local address = 192.168.0.101:2742 remote address = 192.168.0.101:10000 ] [ Network: received 11 of 11 bytes via tcp local address = 192.168.0.101:2742 remote address = 192.168.0.101:10000 ] [ Protocol: received reply message type = 2 (reply) message size = 18 request id = 1 reply status = 0 (ok) ] usage: t: send greeting as twoway o: send greeting as oneway O: send greeting as batch oneway d: send greeting as datagram D: send greeting as batch datagram f: flush all batch requests T: set a timeout S: switch secure mode on/off s: shutdown server x: exit ?: help ==> t [ Protocol: sending request message type = 0 (request) message size = 35 request id = 2 identity = hello facet = operation = sayHello nonmutating = true context = ] [ Network: sent 35 of 35 bytes via tcp local address = 192.168.0.101:2742 remote address = 192.168.0.101:10000 ] [ Network: received 7 of 7 bytes via tcp local address = 192.168.0.101:2742 remote address = 192.168.0.101:10000 ] [ Network: received 10 of 10 bytes via tcp local address = 192.168.0.101:2742 remote address = 192.168.0.101:10000 ] [ Protocol: received reply message type = 2 (reply) message size = 17 request id = 2 reply status = 0 (ok) ] ==> o [ Protocol: sending request message type = 0 (request) message size = 35 request id = 0 (oneway) identity = hello facet = operation = sayHello nonmutating = true context = ] [ Network: sent 35 of 35 bytes via tcp local address = 192.168.0.101:2742 remote address = 192.168.0.101:10000 ] ==> d [ Network: starting to send udp packets local address = 192.168.0.101:2747 remote address = 192.168.0.101:10000 ] [ Protocol: sending request message type = 0 (request) message size = 35 request id = 0 (oneway) identity = hello facet = operation = sayHello nonmutating = true context = ] [ Network: sent 35 bytes via udp local address = 192.168.0.101:2747 remote address = 192.168.0.101:10000 ] warning: connection exception: Ice.SocketException error = 0 at IceInternal.UdpTransceiver.read(UdpTransceiver.java:150) at IceInternal.Connection.read(Connection.java:676) at IceInternal.ThreadPool.read(ThreadPool.java:654) at IceInternal.ThreadPool.run(ThreadPool.java:604) at IceInternal.ThreadPool.access$100(ThreadPool.java:17) at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:886) Caused by: java.net.PortUnreachableException at sun.nio.ch.DatagramChannelImpl.receive0(Native Method) at sun.nio.ch.DatagramChannelImpl.receiveIntoNativeBuffer(DatagramChanne lImpl.java:185) at sun.nio.ch.DatagramChannelImpl.receive(DatagramChannelImpl.java:174) at sun.nio.ch.DatagramChannelImpl.receive(DatagramChannelImpl.java:122) at IceInternal.UdpTransceiver.read(UdpTransceiver.java:141) ... 5 more Caused by: java.net.PortUnreachableException at sun.nio.ch.DatagramChannelImpl.receive0(Native Method) at sun.nio.ch.DatagramChannelImpl.receiveIntoNativeBuffer(DatagramChanne lImpl.java:185) at sun.nio.ch.DatagramChannelImpl.receive(DatagramChannelImpl.java:174) at sun.nio.ch.DatagramChannelImpl.receive(DatagramChannelImpl.java:122) at IceInternal.UdpTransceiver.read(UdpTransceiver.java:141) at IceInternal.Connection.read(Connection.java:676) at IceInternal.ThreadPool.read(ThreadPool.java:654) at IceInternal.ThreadPool.run(ThreadPool.java:604) at IceInternal.ThreadPool.access$100(ThreadPool.java:17) at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:886) local address = 192.168.0.101:2747 remote address = 192.168.0.101:10000 [ Network: closing udp connection local address = 192.168.0.101:2747 remote address = 192.168.0.101:10000 ] ==> s [ Protocol: sending request message type = 0 (request) message size = 35 request id = 3 identity = hello facet = operation = shutdown nonmutating = false context = ] [ Network: sent 35 of 35 bytes via tcp local address = 192.168.0.101:2742 remote address = 192.168.0.101:10000 ] [ Network: received 7 of 7 bytes via tcp local address = 192.168.0.101:2742 remote address = 192.168.0.101:10000 ] [ Network: received 10 of 10 bytes via tcp local address = 192.168.0.101:2742 remote address = 192.168.0.101:10000 ] [ Protocol: received reply message type = 2 (reply) message size = 17 request id = 3 reply status = 0 (ok) ] ==> [ Network: received 7 of 7 bytes via tcp local address = 192.168.0.101:2742 remote address = 192.168.0.101:10000 ] [ Protocol: received close connection message type = 4 (close connection) message size = 7 ] [ Network: closing tcp connection local address = 192.168.0.101:2742 remote address = 192.168.0.101:10000 ] x F:\IceJ-1.0.0\demo\Ice\hello>