class Openwsman::ClientOptions
Public Class Methods
new(*args)
click to toggle source
SWIGINTERN VALUE _wrap_new_ClientOptions(int argc, VALUE *argv, VALUE self) { client_opt_t *result = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } result = (client_opt_t *)new_client_opt_t(); DATA_PTR(self) = result; return self; fail: return Qnil; }
Public Instance Methods
add_option(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_add_option(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; VALUE arg2 = (VALUE) 0 ; VALUE arg3 = (VALUE) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","add_option", 1, self )); } arg1 = (client_opt_t *)(argp1); arg2 = argv[0]; arg3 = argv[1]; client_opt_t_add_option(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
add_property(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_add_property(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; VALUE arg2 = (VALUE) 0 ; VALUE arg3 = (VALUE) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","add_property", 1, self )); } arg1 = (client_opt_t *)(argp1); arg2 = argv[0]; arg3 = argv[1]; client_opt_t_add_property(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
add_selector(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_add_selector(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; VALUE arg2 = (VALUE) 0 ; VALUE arg3 = (VALUE) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 2) || (argc > 2)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","add_selector", 1, self )); } arg1 = (client_opt_t *)(argp1); arg2 = argv[0]; arg3 = argv[1]; client_opt_t_add_selector(arg1,arg2,arg3); return Qnil; fail: return Qnil; }
cim_namespace(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_cim_namespace(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","get_cim_namespace", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (char *)client_opt_t_get_cim_namespace(arg1); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; }
cim_namespace=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_cim_namespacee___(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_cim_namespace", 1, self )); } arg1 = (client_opt_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","set_cim_namespace", 2, argv[0] )); } arg2 = (char *)(buf2); client_opt_t_set_cim_namespace(arg1,arg2); if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; fail: if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; }
clear_dump_request(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_clear_dump_request(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","clear_dump_request", 1, self )); } arg1 = (client_opt_t *)(argp1); client_opt_t_clear_dump_request(arg1); return Qnil; fail: return Qnil; }
clear_flags(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_clear_flags(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; unsigned long arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","clear_flags", 1, self )); } arg1 = (client_opt_t *)(argp1); ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned long","clear_flags", 2, argv[0] )); } arg2 = (unsigned long)(val2); client_opt_t_clear_flags(arg1,arg2); return Qnil; fail: return Qnil; }
delivery_mode(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_delivery_mode(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","delivery_mode", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (int)client_opt_t_delivery_mode(arg1); vresult = SWIG_From_int((int)(result)); return vresult; fail: return Qnil; }
delivery_mode=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_delivery_modee___(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_delivery_mode", 1, self )); } arg1 = (client_opt_t *)(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","set_delivery_mode", 2, argv[0] )); } arg2 = (unsigned int)(val2); client_opt_t_set_delivery_mode(arg1,arg2); return Qnil; fail: return Qnil; }
delivery_sec_mode(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_delivery_sec_mode(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","delivery_sec_mode", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (int)client_opt_t_delivery_sec_mode(arg1); vresult = SWIG_From_int((int)(result)); return vresult; fail: return Qnil; }
delivery_security_mode=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_delivery_security_modee___(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; unsigned int arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_delivery_security_mode", 1, self )); } arg1 = (client_opt_t *)(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","set_delivery_security_mode", 2, argv[0] )); } arg2 = (unsigned int)(val2); client_opt_t_set_delivery_security_mode(arg1,arg2); return Qnil; fail: return Qnil; }
delivery_uri(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_delivery_uri(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","delivery_uri", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (char *)client_opt_t_delivery_uri(arg1); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; }
delivery_uri=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_delivery_urie___(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_delivery_uri", 1, self )); } arg1 = (client_opt_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","set_delivery_uri", 2, argv[0] )); } arg2 = (char *)(buf2); client_opt_t_set_delivery_uri(arg1,(char const *)arg2); if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; fail: if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; }
flags(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_flags(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","get_flags", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (unsigned long)client_opt_t_get_flags(arg1); vresult = SWIG_From_unsigned_SS_long((unsigned long)(result)); return vresult; fail: return Qnil; }
flags=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_flagse___(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; unsigned long arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_flags", 1, self )); } arg1 = (client_opt_t *)(argp1); ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned long","set_flags", 2, argv[0] )); } arg2 = (unsigned long)(val2); client_opt_t_set_flags(arg1,arg2); return Qnil; fail: return Qnil; }
fragment(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_fragment(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","get_fragment", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (char *)client_opt_t_get_fragment(arg1); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; }
fragment=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_fragmente___(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_fragment", 1, self )); } arg1 = (client_opt_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char *","set_fragment", 2, argv[0] )); } arg2 = (char *)(buf2); client_opt_t_set_fragment(arg1,arg2); if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; fail: if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; }
heartbeat_interval(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_heartbeat_interval(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; float result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","heartbeat_interval", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (float)client_opt_t_heartbeat_interval(arg1); vresult = SWIG_From_float((float)(result)); return vresult; fail: return Qnil; }
heartbeat_interval=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_heartbeat_intervale___(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; float arg2 ; void *argp1 = 0 ; int res1 = 0 ; float val2 ; int ecode2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_heartbeat_interval", 1, self )); } arg1 = (client_opt_t *)(argp1); ecode2 = SWIG_AsVal_float(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","set_heartbeat_interval", 2, argv[0] )); } arg2 = (float)(val2); client_opt_t_set_heartbeat_interval(arg1,arg2); return Qnil; fail: return Qnil; }
locale(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_locale(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","locale", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (char *)client_opt_t_locale(arg1); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; }
locale=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_localee___(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_locale", 1, self )); } arg1 = (client_opt_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","set_locale", 2, argv[0] )); } arg2 = (char *)(buf2); client_opt_t_set_locale(arg1,(char const *)arg2); if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; fail: if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; }
max_elements(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_max_elements(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","get_max_elements", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (int)client_opt_t_get_max_elements(arg1); vresult = SWIG_From_int((int)(result)); return vresult; fail: return Qnil; }
max_elements=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_max_elementse___(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; int arg2 ; void *argp1 = 0 ; int res1 = 0 ; int val2 ; int ecode2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_max_elements", 1, self )); } arg1 = (client_opt_t *)(argp1); ecode2 = SWIG_AsVal_int(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","set_max_elements", 2, argv[0] )); } arg2 = (int)(val2); client_opt_t_set_max_elements(arg1,arg2); return Qnil; fail: return Qnil; }
max_envelope_size(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_max_envelope_size(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","get_max_envelope_size", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (unsigned long)client_opt_t_get_max_envelope_size(arg1); vresult = SWIG_From_unsigned_SS_long((unsigned long)(result)); return vresult; fail: return Qnil; }
max_envelope_size=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_max_envelope_sizee___(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; unsigned long arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_max_envelope_size", 1, self )); } arg1 = (client_opt_t *)(argp1); ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned long","set_max_envelope_size", 2, argv[0] )); } arg2 = (unsigned long)(val2); client_opt_t_set_max_envelope_size(arg1,arg2); return Qnil; fail: return Qnil; }
options(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_options(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","get_options", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (VALUE)client_opt_t_get_options(arg1); vresult = result; return vresult; fail: return Qnil; }
options=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_optionse___(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; VALUE arg2 = (VALUE) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_options", 1, self )); } arg1 = (client_opt_t *)(argp1); arg2 = argv[0]; client_opt_t_set_options(arg1,arg2); return Qnil; fail: return Qnil; }
properties(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_properties(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","get_properties", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (VALUE)client_opt_t_get_properties(arg1); vresult = result; return vresult; fail: return Qnil; }
properties=(value)
click to toggle source
assign hash to properties
# File lib/openwsman/openwsman.rb, line 46 def properties= value value.each do |k,v| self.add_property k.to_s, v end end
reference(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_reference(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; char *result = 0 ; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","get_reference", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (char *)client_opt_t_get_reference(arg1); vresult = SWIG_FromCharPtr((const char *)result); return vresult; fail: return Qnil; }
reference=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_referencee___(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; char *arg2 = (char *) 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 ; char *buf2 = 0 ; int alloc2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_reference", 1, self )); } arg1 = (client_opt_t *)(argp1); res2 = SWIG_AsCharPtrAndSize(argv[0], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","set_reference", 2, argv[0] )); } arg2 = (char *)(buf2); client_opt_t_set_reference(arg1,(char const *)arg2); if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; fail: if (alloc2 == SWIG_NEWOBJ) free((char*)buf2); return Qnil; }
reset_flags(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_reset_flags(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","reset_flags", 1, self )); } arg1 = (client_opt_t *)(argp1); client_opt_t_reset_flags(arg1); return Qnil; fail: return Qnil; }
selectors(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_selectors(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; VALUE result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","get_selectors", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (VALUE)client_opt_t_get_selectors(arg1); vresult = result; return vresult; fail: return Qnil; }
selectors=(value)
click to toggle source
assign hash to selectors
# File lib/openwsman/openwsman.rb, line 52 def selectors= value value.each do |k,v| self.add_selector k.to_s, v end end
set_dump_request(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_set_dump_request(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_dump_request", 1, self )); } arg1 = (client_opt_t *)(argp1); client_opt_t_set_dump_request(arg1); return Qnil; fail: return Qnil; }
sub_expiry(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_sub_expiry(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; float result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","sub_expiry", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (float)client_opt_t_sub_expiry(arg1); vresult = SWIG_From_float((float)(result)); return vresult; fail: return Qnil; }
sub_expiry=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_sub_expirye___(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; float arg2 ; void *argp1 = 0 ; int res1 = 0 ; float val2 ; int ecode2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_sub_expiry", 1, self )); } arg1 = (client_opt_t *)(argp1); ecode2 = SWIG_AsVal_float(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "float","set_sub_expiry", 2, argv[0] )); } arg2 = (float)(val2); client_opt_t_set_sub_expiry(arg1,arg2); return Qnil; fail: return Qnil; }
timeout(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_timeout(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long result; VALUE vresult = Qnil; if ((argc < 0) || (argc > 0)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","get_timeout", 1, self )); } arg1 = (client_opt_t *)(argp1); result = (unsigned long)client_opt_t_get_timeout(arg1); vresult = SWIG_From_unsigned_SS_long((unsigned long)(result)); return vresult; fail: return Qnil; }
timeout=(*args)
click to toggle source
SWIGINTERN VALUE _wrap_ClientOptions_timeoute___(int argc, VALUE *argv, VALUE self) { client_opt_t *arg1 = (client_opt_t *) 0 ; unsigned long arg2 ; void *argp1 = 0 ; int res1 = 0 ; unsigned long val2 ; int ecode2 = 0 ; if ((argc < 1) || (argc > 1)) { rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail; } res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_client_opt_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "client_opt_t *","set_timeout", 1, self )); } arg1 = (client_opt_t *)(argp1); ecode2 = SWIG_AsVal_unsigned_SS_long(argv[0], &val2); if (!SWIG_IsOK(ecode2)) { SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned long","set_timeout", 2, argv[0] )); } arg2 = (unsigned long)(val2); client_opt_t_set_timeout(arg1,arg2); return Qnil; fail: return Qnil; }