Пример #1
0
 /// <summary>
 /// Sets the list of supported protocols the server supports. Clients that connect without using one of the supported protocols are dropped. If the list of supported protocols is empty, all protocols are allowed. Note that supported protocols can also be specified on a server transport, in which case the server transport setting overrides the server setting.
 /// </summary>
 public void SetSupportedTransportProtocols(TransportProtocolList protocols)
 {
     RCFProtoPINVOKE.RcfProtoServer_setSupportedTransportProtocols(swigCPtr, TransportProtocolList.getCPtr(protocols));
     if (RCFProtoPINVOKE.SWIGPendingException.Pending)
     {
         throw RCFProtoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public void SetRange(int index, TransportProtocolList values)
 {
     RCFProtoPINVOKE.TransportProtocolList_SetRange(swigCPtr, index, TransportProtocolList.getCPtr(values));
     if (RCFProtoPINVOKE.SWIGPendingException.Pending)
     {
         throw RCFProtoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #3
0
        /// <summary>
        /// Sets the list of supported protocols the server transport supports. Clients that connect without using one of the supported protocols are dropped. If the list of supported protocols is empty, all protocols are allowed.
        /// </summary>
        public ServerTransport SetSupportedProtocols(TransportProtocolList protocols)
        {
            ServerTransport ret = new ServerTransport(RCFProtoPINVOKE.ServerTransport_setSupportedProtocols(swigCPtr, TransportProtocolList.getCPtr(protocols)), false);

            if (RCFProtoPINVOKE.SWIGPendingException.Pending)
            {
                throw RCFProtoPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #4
0
 public TransportProtocolList(TransportProtocolList other) : this(RCFProtoPINVOKE.new_TransportProtocolList__SWIG_1(TransportProtocolList.getCPtr(other)), true)
 {
     if (RCFProtoPINVOKE.SWIGPendingException.Pending)
     {
         throw RCFProtoPINVOKE.SWIGPendingException.Retrieve();
     }
 }