Exemplo n.º 1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("IsReceiver", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegatePairMaker_0(SwigDirectorIsReceiver);
     }
     if (SwigDerivedClassHasMethod("GetAddressCount", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegatePairMaker_1(SwigDirectorGetAddressCount);
     }
     if (SwigDerivedClassHasMethod("GetAddress", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegatePairMaker_2(SwigDirectorGetAddress);
     }
     if (SwigDerivedClassHasMethod("GetPort", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegatePairMaker_3(SwigDirectorGetPort);
     }
     if (SwigDerivedClassHasMethod("Update", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegatePairMaker_4(SwigDirectorUpdate);
     }
     if (SwigDerivedClassHasMethod("IsReadyToConnect", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegatePairMaker_5(SwigDirectorIsReadyToConnect);
     }
     if (SwigDerivedClassHasMethod("GetLocalKey", swigMethodTypes6))
     {
         swigDelegate6 = new SwigDelegatePairMaker_6(SwigDirectorGetLocalKey);
     }
     if (SwigDerivedClassHasMethod("GetRemoteKey", swigMethodTypes7))
     {
         swigDelegate7 = new SwigDelegatePairMaker_7(SwigDirectorGetRemoteKey);
     }
     SharingClientPINVOKE.PairMaker_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7);
 }
Exemplo n.º 2
0
 private void SwigDirectorConnect() {
   if (SwigDerivedClassHasMethod("IsReceiver", swigMethodTypes0))
     swigDelegate0 = new SwigDelegatePairMaker_0(SwigDirectorIsReceiver);
   if (SwigDerivedClassHasMethod("GetAddressCount", swigMethodTypes1))
     swigDelegate1 = new SwigDelegatePairMaker_1(SwigDirectorGetAddressCount);
   if (SwigDerivedClassHasMethod("GetAddress", swigMethodTypes2))
     swigDelegate2 = new SwigDelegatePairMaker_2(SwigDirectorGetAddress);
   if (SwigDerivedClassHasMethod("GetPort", swigMethodTypes3))
     swigDelegate3 = new SwigDelegatePairMaker_3(SwigDirectorGetPort);
   if (SwigDerivedClassHasMethod("Update", swigMethodTypes4))
     swigDelegate4 = new SwigDelegatePairMaker_4(SwigDirectorUpdate);
   if (SwigDerivedClassHasMethod("IsReadyToConnect", swigMethodTypes5))
     swigDelegate5 = new SwigDelegatePairMaker_5(SwigDirectorIsReadyToConnect);
   if (SwigDerivedClassHasMethod("GetLocalKey", swigMethodTypes6))
     swigDelegate6 = new SwigDelegatePairMaker_6(SwigDirectorGetLocalKey);
   if (SwigDerivedClassHasMethod("GetRemoteKey", swigMethodTypes7))
     swigDelegate7 = new SwigDelegatePairMaker_7(SwigDirectorGetRemoteKey);
   SharingClientPINVOKE.PairMaker_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7);
 }