public stringvector(stringvector other) : this(CSharpWrapperPINVOKE.new_stringvector__SWIG_1(stringvector.getCPtr(other)), true) { if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public stringvector(int capacity) : this(CSharpWrapperPINVOKE.new_stringvector__SWIG_2(capacity), true) { if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public messageBroker(nodeConfig _conf) : this(CSharpWrapperPINVOKE.new_messageBroker(nodeConfig.getCPtr(_conf)), true) { if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public void Add(string x) { CSharpWrapperPINVOKE.stringvector_Add(swigCPtr, x); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public void leaveRoom(string roomId) { CSharpWrapperPINVOKE.messageBroker_leaveRoom(swigCPtr, roomId); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public void Insert(int index, string x) { CSharpWrapperPINVOKE.stringvector_Insert(swigCPtr, index, x); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public void Reverse(int index, int count) { CSharpWrapperPINVOKE.stringvector_Reverse__SWIG_1(swigCPtr, index, count); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetRange(int index, stringvector values) { CSharpWrapperPINVOKE.stringvector_SetRange(swigCPtr, index, stringvector.getCPtr(values)); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public void send2client(string clientId, string roomId, string message) { CSharpWrapperPINVOKE.messageBroker_send2client(swigCPtr, clientId, roomId, message); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void SetA(A p) { CSharpWrapperPINVOKE.B_SetA(swigCPtr, A.getCPtr(p)); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public void RemoveAt(int index) { CSharpWrapperPINVOKE.stringvector_RemoveAt(swigCPtr, index); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public void addCallbackToRoom(string roomId, messageHandler callback) { CSharpWrapperPINVOKE.messageBroker_addCallbackToRoom(swigCPtr, roomId, messageHandler.getCPtr(callback)); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public void broadcast2Room(string roomId, string message) { CSharpWrapperPINVOKE.messageBroker_broadcast2Room(swigCPtr, roomId, message); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
private void setitem(int index, string val) { CSharpWrapperPINVOKE.stringvector_setitem(swigCPtr, index, val); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public stringvector getNodeIds(string arg0) { stringvector ret = new stringvector(CSharpWrapperPINVOKE.messageBroker_getNodeIds(swigCPtr, arg0), true); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual string SayHello() { string ret = (SwigDerivedClassHasMethod("SayHello", swigMethodTypes1) ? CSharpWrapperPINVOKE.A_SayHelloSwigExplicitA(swigCPtr) : CSharpWrapperPINVOKE.A_SayHello(swigCPtr)); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public int LastIndexOf(string value) { int ret = CSharpWrapperPINVOKE.stringvector_LastIndexOf(swigCPtr, value); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private string getitem(int index) { string ret = CSharpWrapperPINVOKE.stringvector_getitem(swigCPtr, index); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool Remove(string value) { bool ret = CSharpWrapperPINVOKE.stringvector_Remove(swigCPtr, value); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual string CallA() { string ret = CSharpWrapperPINVOKE.B_CallA(swigCPtr); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public stringvector GetRange(int index, int count) { global::System.IntPtr cPtr = CSharpWrapperPINVOKE.stringvector_GetRange(swigCPtr, index, count); stringvector ret = (cPtr == global::System.IntPtr.Zero) ? null : new stringvector(cPtr, true); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static stringvector Repeat(string value, int count) { global::System.IntPtr cPtr = CSharpWrapperPINVOKE.stringvector_Repeat(value, count); stringvector ret = (cPtr == global::System.IntPtr.Zero) ? null : new stringvector(cPtr, true); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual void Dispose() { lock(this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwnBase) { swigCMemOwnBase = false; CSharpWrapperPINVOKE.delete_messageHandler(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } global::System.GC.SuppressFinalize(this); } }
private void SwigDirectorConnect() { if (SwigDerivedClassHasMethod("SetName", swigMethodTypes0)) { swigDelegate0 = new SwigDelegateA_0(SwigDirectorSetName); } if (SwigDerivedClassHasMethod("SayHello", swigMethodTypes1)) { swigDelegate1 = new SwigDelegateA_1(SwigDirectorSayHello); } CSharpWrapperPINVOKE.A_director_connect(swigCPtr, swigDelegate0, swigDelegate1); }
public virtual void SetName(string n) { if (SwigDerivedClassHasMethod("SetName", swigMethodTypes0)) { CSharpWrapperPINVOKE.A_SetNameSwigExplicitA(swigCPtr, n); } else { CSharpWrapperPINVOKE.A_SetName(swigCPtr, n); } if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) { throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); } }
public B() : this(CSharpWrapperPINVOKE.new_B(), true) { }
public nodeConfig() : this(CSharpWrapperPINVOKE.new_nodeConfig(), true) { }
private void SwigDirectorConnect() { if (SwigDerivedClassHasMethod("handle", swigMethodTypes0)) swigDelegate0 = new SwigDelegatemessageHandler_0(SwigDirectorhandle); CSharpWrapperPINVOKE.messageHandler_director_connect(swigCPtr, swigDelegate0); }
public messageHandler() : this(CSharpWrapperPINVOKE.new_messageHandler(), true) { SwigDirectorConnect(); }
public virtual void handle(string m) { CSharpWrapperPINVOKE.messageHandler_handle(swigCPtr, m); if (CSharpWrapperPINVOKE.SWIGPendingException.Pending) throw CSharpWrapperPINVOKE.SWIGPendingException.Retrieve(); }