csharp/ 0000775 0001750 0001750 00000000000 13304215601 012501 5 ustar kblondel kblondel csharp/room_options.cs 0000664 0001750 0001750 00000005124 13304215575 015573 0 ustar kblondel kblondel //------------------------------------------------------------------------------
//
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Kuzzleio {
public class room_options : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal room_options(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(room_options obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~room_options() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
kuzzlesdkPINVOKE.delete_room_options(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public string scope {
set {
kuzzlesdkPINVOKE.room_options_scope_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.room_options_scope_get(swigCPtr);
return ret;
}
}
public string state {
set {
kuzzlesdkPINVOKE.room_options_state_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.room_options_state_get(swigCPtr);
return ret;
}
}
public string user {
set {
kuzzlesdkPINVOKE.room_options_user_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.room_options_user_get(swigCPtr);
return ret;
}
}
public bool subscribe_to_self {
set {
kuzzlesdkPINVOKE.room_options_subscribe_to_self_set(swigCPtr, value);
}
get {
bool ret = kuzzlesdkPINVOKE.room_options_subscribe_to_self_get(swigCPtr);
return ret;
}
}
public string volatiles {
set {
kuzzlesdkPINVOKE.room_options_volatiles_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.room_options_volatiles_get(swigCPtr);
return ret;
}
}
public room_options() : this(kuzzlesdkPINVOKE.new_room_options(), true) {
}
}
}
csharp/user.cs 0000664 0001750 0001750 00000005370 13304215575 014025 0 ustar kblondel kblondel //------------------------------------------------------------------------------
//
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Kuzzleio {
public class user : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal user(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(user obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~user() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
kuzzlesdkPINVOKE.delete_user(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public string id {
set {
kuzzlesdkPINVOKE.user_id_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.user_id_get(swigCPtr);
return ret;
}
}
public string content {
set {
kuzzlesdkPINVOKE.user_content_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.user_content_get(swigCPtr);
return ret;
}
}
public SWIGTYPE_p_p_char profile_ids {
set {
kuzzlesdkPINVOKE.user_profile_ids_set(swigCPtr, SWIGTYPE_p_p_char.getCPtr(value));
}
get {
global::System.IntPtr cPtr = kuzzlesdkPINVOKE.user_profile_ids_get(swigCPtr);
SWIGTYPE_p_p_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_p_char(cPtr, false);
return ret;
}
}
public uint profile_ids_length {
set {
kuzzlesdkPINVOKE.user_profile_ids_length_set(swigCPtr, value);
}
get {
uint ret = kuzzlesdkPINVOKE.user_profile_ids_length_get(swigCPtr);
return ret;
}
}
public kuzzle kuzzle {
set {
kuzzlesdkPINVOKE.user_kuzzle_set(swigCPtr, kuzzle.getCPtr(value));
}
get {
global::System.IntPtr cPtr = kuzzlesdkPINVOKE.user_kuzzle_get(swigCPtr);
kuzzle ret = (cPtr == global::System.IntPtr.Zero) ? null : new kuzzle(cPtr, false);
return ret;
}
}
public user() : this(kuzzlesdkPINVOKE.new_user(), true) {
}
}
}
csharp/policy_restriction.cs 0000664 0001750 0001750 00000004646 13304215575 017000 0 ustar kblondel kblondel //------------------------------------------------------------------------------
//
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Kuzzleio {
public class policy_restriction : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal policy_restriction(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(policy_restriction obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~policy_restriction() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
kuzzlesdkPINVOKE.delete_policy_restriction(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public string index {
set {
kuzzlesdkPINVOKE.policy_restriction_index_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.policy_restriction_index_get(swigCPtr);
return ret;
}
}
public SWIGTYPE_p_p_char collections {
set {
kuzzlesdkPINVOKE.policy_restriction_collections_set(swigCPtr, SWIGTYPE_p_p_char.getCPtr(value));
}
get {
global::System.IntPtr cPtr = kuzzlesdkPINVOKE.policy_restriction_collections_get(swigCPtr);
SWIGTYPE_p_p_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_p_char(cPtr, false);
return ret;
}
}
public uint collections_length {
set {
kuzzlesdkPINVOKE.policy_restriction_collections_length_set(swigCPtr, value);
}
get {
uint ret = kuzzlesdkPINVOKE.policy_restriction_collections_length_get(swigCPtr);
return ret;
}
}
public policy_restriction() : this(kuzzlesdkPINVOKE.new_policy_restriction(), true) {
}
}
}
csharp/kuzzle_response.cs 0000664 0001750 0001750 00000010261 13304215575 016304 0 ustar kblondel kblondel //------------------------------------------------------------------------------
//
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Kuzzleio {
public class kuzzle_response : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal kuzzle_response(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(kuzzle_response obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~kuzzle_response() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
kuzzlesdkPINVOKE.delete_kuzzle_response(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public string request_id {
set {
kuzzlesdkPINVOKE.kuzzle_response_request_id_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.kuzzle_response_request_id_get(swigCPtr);
return ret;
}
}
public string result {
set {
kuzzlesdkPINVOKE.kuzzle_response_result_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.kuzzle_response_result_get(swigCPtr);
return ret;
}
}
public string volatiles {
set {
kuzzlesdkPINVOKE.kuzzle_response_volatiles_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.kuzzle_response_volatiles_get(swigCPtr);
return ret;
}
}
public string index {
set {
kuzzlesdkPINVOKE.kuzzle_response_index_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.kuzzle_response_index_get(swigCPtr);
return ret;
}
}
public string collection {
set {
kuzzlesdkPINVOKE.kuzzle_response_collection_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.kuzzle_response_collection_get(swigCPtr);
return ret;
}
}
public string controller {
set {
kuzzlesdkPINVOKE.kuzzle_response_controller_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.kuzzle_response_controller_get(swigCPtr);
return ret;
}
}
public string action {
set {
kuzzlesdkPINVOKE.kuzzle_response_action_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.kuzzle_response_action_get(swigCPtr);
return ret;
}
}
public string room_id {
set {
kuzzlesdkPINVOKE.kuzzle_response_room_id_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.kuzzle_response_room_id_get(swigCPtr);
return ret;
}
}
public string channel {
set {
kuzzlesdkPINVOKE.kuzzle_response_channel_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.kuzzle_response_channel_get(swigCPtr);
return ret;
}
}
public int status {
set {
kuzzlesdkPINVOKE.kuzzle_response_status_set(swigCPtr, value);
}
get {
int ret = kuzzlesdkPINVOKE.kuzzle_response_status_get(swigCPtr);
return ret;
}
}
public string error {
set {
kuzzlesdkPINVOKE.kuzzle_response_error_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.kuzzle_response_error_get(swigCPtr);
return ret;
}
}
public string stack {
set {
kuzzlesdkPINVOKE.kuzzle_response_stack_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.kuzzle_response_stack_get(swigCPtr);
return ret;
}
}
public kuzzle_response() : this(kuzzlesdkPINVOKE.new_kuzzle_response(), true) {
}
}
}
csharp/search_profiles_result.cs 0000664 0001750 0001750 00000003706 13304215575 017616 0 ustar kblondel kblondel //------------------------------------------------------------------------------
//
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Kuzzleio {
public class search_profiles_result : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal search_profiles_result(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(search_profiles_result obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~search_profiles_result() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
kuzzlesdkPINVOKE.delete_search_profiles_result(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public profile_search result {
set {
kuzzlesdkPINVOKE.search_profiles_result_result_set(swigCPtr, profile_search.getCPtr(value));
}
get {
global::System.IntPtr cPtr = kuzzlesdkPINVOKE.search_profiles_result_result_get(swigCPtr);
profile_search ret = (cPtr == global::System.IntPtr.Zero) ? null : new profile_search(cPtr, false);
return ret;
}
}
public search_profiles_result() : this(kuzzlesdkPINVOKE.new_search_profiles_result(), true) {
}
}
}
csharp/query_object.cs 0000664 0001750 0001750 00000004226 13304215574 015540 0 ustar kblondel kblondel //------------------------------------------------------------------------------
//
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Kuzzleio {
public class query_object : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal query_object(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(query_object obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~query_object() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
kuzzlesdkPINVOKE.delete_query_object(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public string query {
set {
kuzzlesdkPINVOKE.query_object_query_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.query_object_query_get(swigCPtr);
return ret;
}
}
public ulong timestamp {
set {
kuzzlesdkPINVOKE.query_object_timestamp_set(swigCPtr, value);
}
get {
ulong ret = kuzzlesdkPINVOKE.query_object_timestamp_get(swigCPtr);
return ret;
}
}
public string request_id {
set {
kuzzlesdkPINVOKE.query_object_request_id_set(swigCPtr, value);
}
get {
string ret = kuzzlesdkPINVOKE.query_object_request_id_get(swigCPtr);
return ret;
}
}
public query_object() : this(kuzzlesdkPINVOKE.new_query_object(), true) {
}
}
}
csharp/Index.cs 0000664 0001750 0001750 00000015430 13304215576 014115 0 ustar kblondel kblondel //------------------------------------------------------------------------------
//
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Kuzzleio {
public class Index : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal Index(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Index obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~Index() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
kuzzlesdkPINVOKE.delete_Index(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public Index(Kuzzle kuzzle) : this(kuzzlesdkPINVOKE.new_Index__SWIG_0(Kuzzle.getCPtr(kuzzle)), true) {
}
public Index(Kuzzle kuzzle, kuzzle_index index) : this(kuzzlesdkPINVOKE.new_Index__SWIG_1(Kuzzle.getCPtr(kuzzle), kuzzle_index.getCPtr(index)), true) {
}
public void create(string index, query_options options) {
kuzzlesdkPINVOKE.Index_create__SWIG_0(swigCPtr, index, query_options.getCPtr(options));
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
}
public void create(string index) {
kuzzlesdkPINVOKE.Index_create__SWIG_1(swigCPtr, index);
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
}
public void delete_(string index, query_options options) {
kuzzlesdkPINVOKE.Index_delete___SWIG_0(swigCPtr, index, query_options.getCPtr(options));
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
}
public void delete_(string index) {
kuzzlesdkPINVOKE.Index_delete___SWIG_1(swigCPtr, index);
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
}
public SWIGTYPE_p_std__vectorT_std__string_t mDelete(SWIGTYPE_p_std__vectorT_std__string_t indexes, query_options options) {
SWIGTYPE_p_std__vectorT_std__string_t ret = new SWIGTYPE_p_std__vectorT_std__string_t(kuzzlesdkPINVOKE.Index_mDelete__SWIG_0(swigCPtr, SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(indexes), query_options.getCPtr(options)), true);
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public SWIGTYPE_p_std__vectorT_std__string_t mDelete(SWIGTYPE_p_std__vectorT_std__string_t indexes) {
SWIGTYPE_p_std__vectorT_std__string_t ret = new SWIGTYPE_p_std__vectorT_std__string_t(kuzzlesdkPINVOKE.Index_mDelete__SWIG_1(swigCPtr, SWIGTYPE_p_std__vectorT_std__string_t.getCPtr(indexes)), true);
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public bool exists(string index, query_options options) {
bool ret = kuzzlesdkPINVOKE.Index_exists__SWIG_0(swigCPtr, index, query_options.getCPtr(options));
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public bool exists(string index) {
bool ret = kuzzlesdkPINVOKE.Index_exists__SWIG_1(swigCPtr, index);
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void refresh(string index, query_options options) {
kuzzlesdkPINVOKE.Index_refresh__SWIG_0(swigCPtr, index, query_options.getCPtr(options));
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
}
public void refresh(string index) {
kuzzlesdkPINVOKE.Index_refresh__SWIG_1(swigCPtr, index);
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
}
public void refreshInternal(query_options options) {
kuzzlesdkPINVOKE.Index_refreshInternal__SWIG_0(swigCPtr, query_options.getCPtr(options));
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
}
public void refreshInternal() {
kuzzlesdkPINVOKE.Index_refreshInternal__SWIG_1(swigCPtr);
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
}
public void setAutoRefresh(string index, bool autoRefresh, query_options options) {
kuzzlesdkPINVOKE.Index_setAutoRefresh__SWIG_0(swigCPtr, index, autoRefresh, query_options.getCPtr(options));
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
}
public void setAutoRefresh(string index, bool autoRefresh) {
kuzzlesdkPINVOKE.Index_setAutoRefresh__SWIG_1(swigCPtr, index, autoRefresh);
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
}
public bool getAutoRefresh(string index, query_options options) {
bool ret = kuzzlesdkPINVOKE.Index_getAutoRefresh__SWIG_0(swigCPtr, index, query_options.getCPtr(options));
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public bool getAutoRefresh(string index) {
bool ret = kuzzlesdkPINVOKE.Index_getAutoRefresh__SWIG_1(swigCPtr, index);
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public SWIGTYPE_p_std__vectorT_std__string_t list(query_options options) {
SWIGTYPE_p_std__vectorT_std__string_t ret = new SWIGTYPE_p_std__vectorT_std__string_t(kuzzlesdkPINVOKE.Index_list__SWIG_0(swigCPtr, query_options.getCPtr(options)), true);
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public SWIGTYPE_p_std__vectorT_std__string_t list() {
SWIGTYPE_p_std__vectorT_std__string_t ret = new SWIGTYPE_p_std__vectorT_std__string_t(kuzzlesdkPINVOKE.Index_list__SWIG_1(swigCPtr), true);
if (kuzzlesdkPINVOKE.SWIGPendingException.Pending) throw kuzzlesdkPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
}
}
csharp/role_result.cs 0000664 0001750 0001750 00000003465 13304215575 015411 0 ustar kblondel kblondel //------------------------------------------------------------------------------
//
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Kuzzleio {
public class role_result : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal role_result(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(role_result obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~role_result() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
kuzzlesdkPINVOKE.delete_role_result(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public role role {
set {
kuzzlesdkPINVOKE.role_result_role_set(swigCPtr, role.getCPtr(value));
}
get {
global::System.IntPtr cPtr = kuzzlesdkPINVOKE.role_result_role_get(swigCPtr);
role ret = (cPtr == global::System.IntPtr.Zero) ? null : new role(cPtr, false);
return ret;
}
}
public role_result() : this(kuzzlesdkPINVOKE.new_role_result(), true) {
}
}
}
csharp/SWIGTYPE_p_f_void__p_offline_queue.cs 0000664 0001750 0001750 00000002153 13304215576 021550 0 ustar kblondel kblondel //------------------------------------------------------------------------------
//
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Kuzzleio {
public class SWIGTYPE_p_f_void__p_offline_queue {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal SWIGTYPE_p_f_void__p_offline_queue(global::System.IntPtr cPtr, bool futureUse) {
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
protected SWIGTYPE_p_f_void__p_offline_queue() {
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_void__p_offline_queue obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
}
}
csharp/SubscribeListener.cs 0000664 0001750 0001750 00000005555 13304215575 016503 0 ustar kblondel kblondel //------------------------------------------------------------------------------
//
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Kuzzleio {
public class SubscribeListener : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal SubscribeListener(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SubscribeListener obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~SubscribeListener() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
kuzzlesdkPINVOKE.delete_SubscribeListener(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public virtual void onSubscribe(room_result arg0) {
kuzzlesdkPINVOKE.SubscribeListener_onSubscribe(swigCPtr, room_result.getCPtr(arg0));
}
public SubscribeListener() : this(kuzzlesdkPINVOKE.new_SubscribeListener(), true) {
SwigDirectorConnect();
}
private void SwigDirectorConnect() {
if (SwigDerivedClassHasMethod("onSubscribe", swigMethodTypes0))
swigDelegate0 = new SwigDelegateSubscribeListener_0(SwigDirectoronSubscribe);
kuzzlesdkPINVOKE.SubscribeListener_director_connect(swigCPtr, swigDelegate0);
}
private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes) {
global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance, null, methodTypes, null);
bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(SubscribeListener));
return hasDerivedMethod;
}
private void SwigDirectoronSubscribe(global::System.IntPtr arg0) {
onSubscribe((arg0 == global::System.IntPtr.Zero) ? null : new room_result(arg0, false));
}
public delegate void SwigDelegateSubscribeListener_0(global::System.IntPtr arg0);
private SwigDelegateSubscribeListener_0 swigDelegate0;
private static global::System.Type[] swigMethodTypes0 = new global::System.Type[] { typeof(room_result) };
}
}
csharp/realtime.cs 0000664 0001750 0001750 00000004236 13304215575 014651 0 ustar kblondel kblondel //------------------------------------------------------------------------------
//
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Kuzzleio {
public class realtime : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal realtime(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(realtime obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~realtime() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
kuzzlesdkPINVOKE.delete_realtime(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public SWIGTYPE_p_void instance {
set {
kuzzlesdkPINVOKE.realtime_instance_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value));
}
get {
global::System.IntPtr cPtr = kuzzlesdkPINVOKE.realtime_instance_get(swigCPtr);
SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
return ret;
}
}
public kuzzle kuzzle {
set {
kuzzlesdkPINVOKE.realtime_kuzzle_set(swigCPtr, kuzzle.getCPtr(value));
}
get {
global::System.IntPtr cPtr = kuzzlesdkPINVOKE.realtime_kuzzle_get(swigCPtr);
kuzzle ret = (cPtr == global::System.IntPtr.Zero) ? null : new kuzzle(cPtr, false);
return ret;
}
}
public realtime() : this(kuzzlesdkPINVOKE.new_realtime(), true) {
}
}
}
csharp/error_result.cs 0000664 0001750 0001750 00000002770 13304215575 015577 0 ustar kblondel kblondel //------------------------------------------------------------------------------
//
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.12
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
namespace Kuzzleio {
public class error_result : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal error_result(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(error_result obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~error_result() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
kuzzlesdkPINVOKE.delete_error_result(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
global::System.GC.SuppressFinalize(this);
}
}
public error_result() : this(kuzzlesdkPINVOKE.new_error_result(), true) {
}
}
}
csharp/libkuzzle-csharp.dll 0000775 0001750 0001750 00001043000 13304215601 016470 0 ustar kblondel kblondel MZ @ !L!This program cannot be run in DOS mode.
$ PE L ! > \ ` @ @ \ K ` H .text < > `.rsrc ` @ @ @.reloc D @ B \ H l& 6 n(
} s
} *N( ( ( *f( ( ( ( *v: ~
s
8 { *0 o (
* 0 j
(
| (
~
(
9. { 9 } { ( ~
s
} (
,(
* [_
0 = { (
~
(
9 8 sH (2 9 (4 z* 0 &