Example #1
0
 /**
  * Return the local address for this socket
  *
  * @return
  */
 public SocketAddress localAddress() {
   SocketAddress ret = SocketAddress.newInstance(delegate.localAddress());
   return ret;
 }
Example #2
0
 /**
  * Return the remote address for this socket
  *
  * @return
  */
 public SocketAddress remoteAddress() {
   SocketAddress ret = SocketAddress.newInstance(delegate.remoteAddress());
   return ret;
 }