public static int Keyspace_Init(SWIGTYPE_p_void client, Keyspace_NodeParams arg1) { int ret = keyspace_clientPINVOKE.Keyspace_Init(SWIGTYPE_p_void.getCPtr(client), Keyspace_NodeParams.getCPtr(arg1)); if (keyspace_clientPINVOKE.SWIGPendingException.Pending) { throw keyspace_clientPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Client(string[] nodes) { cptr = keyspace_client.Keyspace_Create(); result = null; Keyspace_NodeParams nodeParams = new Keyspace_NodeParams(nodes.Length); for (int i = 0; i < nodes.Length; i++) nodeParams.AddNode(nodes[i]); int status = keyspace_client.Keyspace_Init(cptr, nodeParams); nodeParams.Close(); }
public Client(string[] nodes) { cptr = keyspace_client.Keyspace_Create(); result = null; Keyspace_NodeParams nodeParams = new Keyspace_NodeParams(nodes.Length); for (int i = 0; i < nodes.Length; i++) { nodeParams.AddNode(nodes[i]); } int status = keyspace_client.Keyspace_Init(cptr, nodeParams); nodeParams.Close(); }
internal static HandleRef getCPtr(Keyspace_NodeParams obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
internal static HandleRef getCPtr(Keyspace_NodeParams obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public static int Keyspace_Init(SWIGTYPE_p_void client, Keyspace_NodeParams arg1) { int ret = keyspace_clientPINVOKE.Keyspace_Init(SWIGTYPE_p_void.getCPtr(client), Keyspace_NodeParams.getCPtr(arg1)); if (keyspace_clientPINVOKE.SWIGPendingException.Pending) throw keyspace_clientPINVOKE.SWIGPendingException.Retrieve(); return ret; }