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