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