Ejemplo n.º 1
0
 public override string ToString()
 {
     return(Network.addrToString(_proxy == null ? _addr : _proxy.getAddress()));
 }
Ejemplo n.º 2
0
 public virtual void fillEndpointInfo(Ice.IPEndpointInfo info)
 {
     info.host          = host_;
     info.port          = port_;
     info.sourceAddress = Network.endpointAddressToString(sourceAddr_);
 }
Ejemplo n.º 3
0
 public void SetBlock(bool block)
 {
     Debug.Assert(_fd != null);
     Network.SetBlock(_fd, block);
 }
Ejemplo n.º 4
0
 public List <Connector> connectors(Ice.EndpointSelectionType selType)
 {
     return(connectors(Network.getAddresses(host_, port_, instance_.protocolSupport(), selType,
                                            instance_.preferIPv6(), false),
                       instance_.networkProxy()));
 }
Ejemplo n.º 5
0
 public void SetBufferSize(int rcvSize, int sndSize)
 {
     Debug.Assert(_fd != null);
     Network.SetTcpBufSize(_fd, rcvSize, sndSize, _instance);
 }