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