Make an IP address available to an application

WARNING - TOPIC NOT WRITTEN - TOPIC ID: 2856

This topic has not yet been written. The content below is from the topic description.
ll of the transports (bisocket, sslbisocket, http, https, rmi, sslrmi, servlet, sslservlet, socket, and sslsocket) capture the IP address of the client side of a TCP connection from client to server and make it available to application code on both the client side and server side. On the client side, the method org.jboss.remoting.Client.getAddressSeenByServer(), with signature public InetAddress getAddressSeenByServer() throws Throwable returns the IP address of the client as seen by the server. On the server side, the same IP address is placed in the request payload map held by the org.jboss.remoting.InvocationRequest. It may be retrieved by the org.jboss.remoting.ServerInvocationHandler as follows: public Object invoke(InvocationRequest invocation throws Throwable { ... InetAddress address = invocation.getRequestPayload().get(Remoting.CLIENT_ADDRESS); ... }