Class: Quickfix::Session
- Inherits:
-
Object
- Object
- Quickfix::Session
- Defined in:
- ext/quickfix/QuickfixRuby.cpp
Class Method Summary collapse
- .doesSessionExist(*args) ⇒ Object
- .getSessions(*args) ⇒ Object
- .isSessionRegistered(*args) ⇒ Object
- .lookupSession(*args, self) ⇒ Object
- .numSessions(*args) ⇒ Object
- .registerSession(*args) ⇒ Object
- .sendToTarget(*args, self) ⇒ Object
- .unregisterSession(*args) ⇒ Object
Instance Method Summary collapse
- #disconnect(*args) ⇒ Object
- #getCheckCompId(*args) ⇒ Object
- #getCheckLatency(*args) ⇒ Object
- #getDataDictionaryProvider(*args) ⇒ Object
- #getExpectedSenderNum(*args) ⇒ Object
- #getExpectedTargetNum(*args) ⇒ Object
- #getLog(*args) ⇒ Object
- #getLogonTime(*args) ⇒ Object
- #getLogonTimeout(*args) ⇒ Object
- #getLogoutTimeout(*args) ⇒ Object
- #getMaxLatency(*args) ⇒ Object
- #getMillisecondsInTimeStamp(*args) ⇒ Object
- #getPersistMessages(*args) ⇒ Object
- #getRefreshOnLogon(*args) ⇒ Object
- #getResetOnDisconnect(*args) ⇒ Object
- #getResetOnLogon(*args) ⇒ Object
- #getResetOnLogout(*args) ⇒ Object
- #getSenderDefaultApplVerID(*args) ⇒ Object
- #getSendRedundantResendRequests(*args) ⇒ Object
- #getSessionID(*args) ⇒ Object
- #getStore(*args) ⇒ Object
- #getTargetDefaultApplVerID(*args) ⇒ Object
- #getTimestampPrecision(*args) ⇒ Object
- #getValidateLengthAndChecksum(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #isAcceptor(*args) ⇒ Object
- #isEnabled(*args) ⇒ Object
- #isInitiator(*args) ⇒ Object
- #isLoggedOn(*args) ⇒ Object
- #isLogonTime(*args) ⇒ Object
- #isSessionTime(*args) ⇒ Object
- #logon(*args) ⇒ Object
- #logout(*args, self) ⇒ Object
- #next(*args, self) ⇒ Object
- #receivedLogon(*args) ⇒ Object
- #refresh(*args) ⇒ Object
- #reset(*args) ⇒ Object
- #send(*args) ⇒ Object
- #sentLogon(*args) ⇒ Object
- #sentLogout(*args) ⇒ Object
- #setCheckCompId(*args) ⇒ Object
- #setCheckLatency(*args) ⇒ Object
- #setDataDictionaryProvider(*args) ⇒ Object
- #setLogonTime(*args) ⇒ Object
- #setLogonTimeout(*args) ⇒ Object
- #setLogoutTimeout(*args) ⇒ Object
- #setMaxLatency(*args) ⇒ Object
- #setMillisecondsInTimeStamp(*args) ⇒ Object
- #setNextSenderMsgSeqNum(*args) ⇒ Object
- #setNextTargetMsgSeqNum(*args) ⇒ Object
- #setPersistMessages(*args) ⇒ Object
- #setRefreshOnLogon(*args) ⇒ Object
- #setResetOnDisconnect(*args) ⇒ Object
- #setResetOnLogon(*args) ⇒ Object
- #setResetOnLogout(*args) ⇒ Object
- #setResponder(*args) ⇒ Object
- #setSenderDefaultApplVerID(*args) ⇒ Object
- #setSendRedundantResendRequests(*args) ⇒ Object
- #setTargetDefaultApplVerID(*args) ⇒ Object
- #setTimestampPrecision(*args) ⇒ Object
- #setValidateLengthAndChecksum(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
207821 207822 207823 207824 207825 207826 207827 207828 207829 207830 207831 207832 207833 207834 207835 207836 207837 207838 207839 207840 207841 207842 207843 207844 207845 207846 207847 207848 207849 207850 207851 207852 207853 207854 207855 207856 207857 207858 207859 207860 207861 207862 207863 207864 207865 207866 207867 207868 207869 207870 207871 207872 207873 207874 207875 207876 207877 207878 207879 207880 207881 207882 207883 207884 207885 207886 207887 207888 207889 207890 207891 207892 207893 207894 207895 207896 207897 207898 207899 207900 207901 207902 207903 207904 207905 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 207821
SWIGINTERN VALUE
_wrap_new_Session(int argc, VALUE *argv, VALUE self) {
Application *arg1 = 0 ;
MessageStoreFactory *arg2 = 0 ;
FIX::SessionID *arg3 = 0 ;
DataDictionaryProvider *arg4 = 0 ;
TimeRange *arg5 = 0 ;
int arg6 ;
LogFactory *arg7 = (LogFactory *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 ;
int res3 = 0 ;
void *argp4 ;
int res4 = 0 ;
void *argp5 ;
int res5 = 0 ;
int val6 ;
int ecode6 = 0 ;
void *argp7 = 0 ;
int res7 = 0 ;
const char *classname SWIGUNUSED = "Quickfix::Session";
FIX::Session *result = 0 ;
if ((argc < 7) || (argc > 7)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 7)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_Application, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Application &","Session", 1, argv[0] ));
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Application &","Session", 1, argv[0]));
}
arg1 = reinterpret_cast< Application * >(argp1);
res2 = SWIG_ConvertPtr(argv[1], &argp2, SWIGTYPE_p_MessageStoreFactory, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "MessageStoreFactory &","Session", 2, argv[1] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "MessageStoreFactory &","Session", 2, argv[1]));
}
arg2 = reinterpret_cast< MessageStoreFactory * >(argp2);
res3 = SWIG_ConvertPtr(argv[2], &argp3, SWIGTYPE_p_FIX__SessionID, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FIX::SessionID const &","Session", 3, argv[2] ));
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::SessionID const &","Session", 3, argv[2]));
}
arg3 = reinterpret_cast< FIX::SessionID * >(argp3);
res4 = SWIG_ConvertPtr(argv[3], &argp4, SWIGTYPE_p_DataDictionaryProvider, 0 );
if (!SWIG_IsOK(res4)) {
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "DataDictionaryProvider const &","Session", 4, argv[3] ));
}
if (!argp4) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "DataDictionaryProvider const &","Session", 4, argv[3]));
}
arg4 = reinterpret_cast< DataDictionaryProvider * >(argp4);
res5 = SWIG_ConvertPtr(argv[4], &argp5, SWIGTYPE_p_TimeRange, 0 );
if (!SWIG_IsOK(res5)) {
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "TimeRange const &","Session", 5, argv[4] ));
}
if (!argp5) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "TimeRange const &","Session", 5, argv[4]));
}
arg5 = reinterpret_cast< TimeRange * >(argp5);
ecode6 = SWIG_AsVal_int(argv[5], &val6);
if (!SWIG_IsOK(ecode6)) {
SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "int","Session", 6, argv[5] ));
}
arg6 = static_cast< int >(val6);
res7 = SWIG_ConvertPtr(argv[6], &argp7,SWIGTYPE_p_LogFactory, 0 | 0 );
if (!SWIG_IsOK(res7)) {
SWIG_exception_fail(SWIG_ArgError(res7), Ruby_Format_TypeError( "", "LogFactory *","Session", 7, argv[6] ));
}
arg7 = reinterpret_cast< LogFactory * >(argp7);
result = (FIX::Session *)new FIX::Session(*arg1,*arg2,(FIX::SessionID const &)*arg3,(DataDictionaryProvider const &)*arg4,(TimeRange const &)*arg5,arg6,arg7);
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Class Method Details
.doesSessionExist(*args) ⇒ Object
208964 208965 208966 208967 208968 208969 208970 208971 208972 208973 208974 208975 208976 208977 208978 208979 208980 208981 208982 208983 208984 208985 208986 208987 208988 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208964
SWIGINTERN VALUE
_wrap_Session_doesSessionExist(int argc, VALUE *argv, VALUE self) {
FIX::SessionID *arg1 = 0 ;
void *argp1 ;
int res1 = 0 ;
bool result;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_FIX__SessionID, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::SessionID const &","FIX::Session::doesSessionExist", 1, argv[0] ));
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::SessionID const &","FIX::Session::doesSessionExist", 1, argv[0]));
}
arg1 = reinterpret_cast< FIX::SessionID * >(argp1);
result = (bool)FIX::Session::doesSessionExist((FIX::SessionID const &)*arg1);
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
.getSessions(*args) ⇒ Object
208948 208949 208950 208951 208952 208953 208954 208955 208956 208957 208958 208959 208960 208961 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208948
SWIGINTERN VALUE
_wrap_Session_getSessions(int argc, VALUE *argv, VALUE self) {
SwigValueWrapper< std::set< FIX::SessionID > > result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = FIX::Session::getSessions();
vresult = SWIG_NewPointerObj((new std::set< FIX::SessionID >(static_cast< const std::set< FIX::SessionID >& >(result))), SWIGTYPE_p_std__setT_FIX__SessionID_t, SWIG_POINTER_OWN | 0 );
return vresult;
fail:
return Qnil;
}
|
.isSessionRegistered(*args) ⇒ Object
209154 209155 209156 209157 209158 209159 209160 209161 209162 209163 209164 209165 209166 209167 209168 209169 209170 209171 209172 209173 209174 209175 209176 209177 209178 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209154
SWIGINTERN VALUE
_wrap_Session_isSessionRegistered(int argc, VALUE *argv, VALUE self) {
FIX::SessionID *arg1 = 0 ;
void *argp1 ;
int res1 = 0 ;
bool result;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_FIX__SessionID, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::SessionID const &","FIX::Session::isSessionRegistered", 1, argv[0] ));
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::SessionID const &","FIX::Session::isSessionRegistered", 1, argv[0]));
}
arg1 = reinterpret_cast< FIX::SessionID * >(argp1);
result = (bool)FIX::Session::isSessionRegistered((FIX::SessionID const &)*arg1);
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
.lookupSession(*args, self) ⇒ Object
209102 209103 209104 209105 209106 209107 209108 209109 209110 209111 209112 209113 209114 209115 209116 209117 209118 209119 209120 209121 209122 209123 209124 209125 209126 209127 209128 209129 209130 209131 209132 209133 209134 209135 209136 209137 209138 209139 209140 209141 209142 209143 209144 209145 209146 209147 209148 209149 209150 209151 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209102
SWIGINTERN VALUE _wrap_Session_lookupSession(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[2];
int ii;
argc = nargs;
if (argc > 2) SWIG_fail;
for (ii = 0; (ii < argc); ++ii) {
argv[ii] = args[ii];
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__SessionID, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_lookupSession__SWIG_0(nargs, args, self);
}
}
if (argc == 1) {
int _v;
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_lookupSession__SWIG_2(nargs, args, self);
}
}
if (argc == 2) {
int _v;
int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[1], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Session_lookupSession__SWIG_1(nargs, args, self);
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 2, "Session.lookupSession",
" FIX::Session Session.lookupSession(FIX::SessionID const &)\n"
" FIX::Session Session.lookupSession(std::string const &, bool reverse)\n"
" FIX::Session * Session.lookupSession(std::string const &)\n");
return Qnil;
}
|
.numSessions(*args) ⇒ Object
209232 209233 209234 209235 209236 209237 209238 209239 209240 209241 209242 209243 209244 209245 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209232
SWIGINTERN VALUE
_wrap_Session_numSessions(int argc, VALUE *argv, VALUE self) {
size_t result;
VALUE vresult = Qnil;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
result = FIX::Session::numSessions();
vresult = SWIG_From_size_t(static_cast< size_t >(result));
return vresult;
fail:
return Qnil;
}
|
.registerSession(*args) ⇒ Object
209181 209182 209183 209184 209185 209186 209187 209188 209189 209190 209191 209192 209193 209194 209195 209196 209197 209198 209199 209200 209201 209202 209203 209204 209205 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209181
SWIGINTERN VALUE
_wrap_Session_registerSession(int argc, VALUE *argv, VALUE self) {
FIX::SessionID *arg1 = 0 ;
void *argp1 ;
int res1 = 0 ;
FIX::Session *result = 0 ;
VALUE vresult = Qnil;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_FIX__SessionID, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::SessionID const &","FIX::Session::registerSession", 1, argv[0] ));
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::SessionID const &","FIX::Session::registerSession", 1, argv[0]));
}
arg1 = reinterpret_cast< FIX::SessionID * >(argp1);
result = (FIX::Session *)FIX::Session::registerSession((FIX::SessionID const &)*arg1);
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FIX__Session, 0 | 0 );
return vresult;
fail:
return Qnil;
}
|
.sendToTarget(*args, self) ⇒ Object
208807 208808 208809 208810 208811 208812 208813 208814 208815 208816 208817 208818 208819 208820 208821 208822 208823 208824 208825 208826 208827 208828 208829 208830 208831 208832 208833 208834 208835 208836 208837 208838 208839 208840 208841 208842 208843 208844 208845 208846 208847 208848 208849 208850 208851 208852 208853 208854 208855 208856 208857 208858 208859 208860 208861 208862 208863 208864 208865 208866 208867 208868 208869 208870 208871 208872 208873 208874 208875 208876 208877 208878 208879 208880 208881 208882 208883 208884 208885 208886 208887 208888 208889 208890 208891 208892 208893 208894 208895 208896 208897 208898 208899 208900 208901 208902 208903 208904 208905 208906 208907 208908 208909 208910 208911 208912 208913 208914 208915 208916 208917 208918 208919 208920 208921 208922 208923 208924 208925 208926 208927 208928 208929 208930 208931 208932 208933 208934 208935 208936 208937 208938 208939 208940 208941 208942 208943 208944 208945 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208807
SWIGINTERN VALUE _wrap_Session_sendToTarget(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[4];
int ii;
argc = nargs;
if (argc > 4) SWIG_fail;
for (ii = 0; (ii < argc); ++ii) {
argv[ii] = args[ii];
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_sendToTarget__SWIG_1(nargs, args, self);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__SessionID, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_sendToTarget__SWIG_2(nargs, args, self);
}
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_sendToTarget__SWIG_0(nargs, args, self);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__SenderCompID, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FIX__TargetCompID, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_sendToTarget__SWIG_4(nargs, args, self);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_sendToTarget__SWIG_6(nargs, args, self);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__SenderCompID, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_FIX__TargetCompID, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_sendToTarget__SWIG_3(nargs, args, self);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[3], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_sendToTarget__SWIG_5(nargs, args, self);
}
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 4, "Session.sendToTarget",
" bool Session.sendToTarget(FIX::Message &message, std::string const &qualifier)\n"
" bool Session.sendToTarget(FIX::Message &message)\n"
" bool Session.sendToTarget(FIX::Message &message, FIX::SessionID const &sessionID)\n"
" bool Session.sendToTarget(FIX::Message &, FIX::SenderCompID const &senderCompID, FIX::TargetCompID const &targetCompID, std::string const &qualifier)\n"
" bool Session.sendToTarget(FIX::Message &, FIX::SenderCompID const &senderCompID, FIX::TargetCompID const &targetCompID)\n"
" bool Session.sendToTarget(FIX::Message &message, std::string const &senderCompID, std::string const &targetCompID, std::string const &qualifier)\n"
" bool Session.sendToTarget(FIX::Message &message, std::string const &senderCompID, std::string const &targetCompID)\n");
return Qnil;
}
|
.unregisterSession(*args) ⇒ Object
209208 209209 209210 209211 209212 209213 209214 209215 209216 209217 209218 209219 209220 209221 209222 209223 209224 209225 209226 209227 209228 209229 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209208
SWIGINTERN VALUE
_wrap_Session_unregisterSession(int argc, VALUE *argv, VALUE self) {
FIX::SessionID *arg1 = 0 ;
void *argp1 ;
int res1 = 0 ;
if ((argc < 1) || (argc > 1)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
}
res1 = SWIG_ConvertPtr(argv[0], &argp1, SWIGTYPE_p_FIX__SessionID, 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::SessionID const &","FIX::Session::unregisterSession", 1, argv[0] ));
}
if (!argp1) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::SessionID const &","FIX::Session::unregisterSession", 1, argv[0]));
}
arg1 = reinterpret_cast< FIX::SessionID * >(argp1);
FIX::Session::unregisterSession((FIX::SessionID const &)*arg1);
return Qnil;
fail:
return Qnil;
}
|
Instance Method Details
#disconnect(*args) ⇒ Object
210763 210764 210765 210766 210767 210768 210769 210770 210771 210772 210773 210774 210775 210776 210777 210778 210779 210780 210781 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210763
SWIGINTERN VALUE
_wrap_Session_disconnect(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","disconnect", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
(arg1)->disconnect();
return Qnil;
fail:
return Qnil;
}
|
#getCheckCompId(*args) ⇒ Object
209611 209612 209613 209614 209615 209616 209617 209618 209619 209620 209621 209622 209623 209624 209625 209626 209627 209628 209629 209630 209631 209632 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209611
SWIGINTERN VALUE
_wrap_Session_getCheckCompId(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getCheckCompId", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->getCheckCompId();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#getCheckLatency(*args) ⇒ Object
209664 209665 209666 209667 209668 209669 209670 209671 209672 209673 209674 209675 209676 209677 209678 209679 209680 209681 209682 209683 209684 209685 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209664
SWIGINTERN VALUE
_wrap_Session_getCheckLatency(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getCheckLatency", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->getCheckLatency();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#getDataDictionaryProvider(*args) ⇒ Object
208343 208344 208345 208346 208347 208348 208349 208350 208351 208352 208353 208354 208355 208356 208357 208358 208359 208360 208361 208362 208363 208364 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208343
SWIGINTERN VALUE
_wrap_Session_getDataDictionaryProvider(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
DataDictionaryProvider *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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session const *","getDataDictionaryProvider", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (DataDictionaryProvider *) &((FIX::Session const *)arg1)->getDataDictionaryProvider();
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DataDictionaryProvider, 0 | 0 );
return vresult;
fail:
return Qnil;
}
|
#getExpectedSenderNum(*args) ⇒ Object
210784 210785 210786 210787 210788 210789 210790 210791 210792 210793 210794 210795 210796 210797 210798 210799 210800 210801 210802 210803 210804 210805 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210784
SWIGINTERN VALUE
_wrap_Session_getExpectedSenderNum(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getExpectedSenderNum", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (int)(arg1)->getExpectedSenderNum();
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#getExpectedTargetNum(*args) ⇒ Object
210808 210809 210810 210811 210812 210813 210814 210815 210816 210817 210818 210819 210820 210821 210822 210823 210824 210825 210826 210827 210828 210829 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210808
SWIGINTERN VALUE
_wrap_Session_getExpectedTargetNum(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getExpectedTargetNum", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (int)(arg1)->getExpectedTargetNum();
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#getLog(*args) ⇒ Object
210832 210833 210834 210835 210836 210837 210838 210839 210840 210841 210842 210843 210844 210845 210846 210847 210848 210849 210850 210851 210852 210853 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210832
SWIGINTERN VALUE
_wrap_Session_getLog(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
Log *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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getLog", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (Log *)(arg1)->getLog();
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Log, 0 | 0 );
return vresult;
fail:
return Qnil;
}
|
#getLogonTime(*args) ⇒ Object
209366 209367 209368 209369 209370 209371 209372 209373 209374 209375 209376 209377 209378 209379 209380 209381 209382 209383 209384 209385 209386 209387 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209366
SWIGINTERN VALUE
_wrap_Session_getLogonTime(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
TimeRange *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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getLogonTime", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (TimeRange *) &(arg1)->getLogonTime();
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_TimeRange, 0 | 0 );
return vresult;
fail:
return Qnil;
}
|
#getLogonTimeout(*args) ⇒ Object
209770 209771 209772 209773 209774 209775 209776 209777 209778 209779 209780 209781 209782 209783 209784 209785 209786 209787 209788 209789 209790 209791 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209770
SWIGINTERN VALUE
_wrap_Session_getLogonTimeout(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getLogonTimeout", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (int)(arg1)->getLogonTimeout();
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#getLogoutTimeout(*args) ⇒ Object
209823 209824 209825 209826 209827 209828 209829 209830 209831 209832 209833 209834 209835 209836 209837 209838 209839 209840 209841 209842 209843 209844 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209823
SWIGINTERN VALUE
_wrap_Session_getLogoutTimeout(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getLogoutTimeout", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (int)(arg1)->getLogoutTimeout();
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#getMaxLatency(*args) ⇒ Object
209717 209718 209719 209720 209721 209722 209723 209724 209725 209726 209727 209728 209729 209730 209731 209732 209733 209734 209735 209736 209737 209738 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209717
SWIGINTERN VALUE
_wrap_Session_getMaxLatency(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getMaxLatency", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (int)(arg1)->getMaxLatency();
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#getMillisecondsInTimeStamp(*args) ⇒ Object
210088 210089 210090 210091 210092 210093 210094 210095 210096 210097 210098 210099 210100 210101 210102 210103 210104 210105 210106 210107 210108 210109 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210088
SWIGINTERN VALUE
_wrap_Session_getMillisecondsInTimeStamp(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getMillisecondsInTimeStamp", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->getMillisecondsInTimeStamp();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#getPersistMessages(*args) ⇒ Object
210194 210195 210196 210197 210198 210199 210200 210201 210202 210203 210204 210205 210206 210207 210208 210209 210210 210211 210212 210213 210214 210215 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210194
SWIGINTERN VALUE
_wrap_Session_getPersistMessages(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getPersistMessages", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->getPersistMessages();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#getRefreshOnLogon(*args) ⇒ Object
210035 210036 210037 210038 210039 210040 210041 210042 210043 210044 210045 210046 210047 210048 210049 210050 210051 210052 210053 210054 210055 210056 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210035
SWIGINTERN VALUE
_wrap_Session_getRefreshOnLogon(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getRefreshOnLogon", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->getRefreshOnLogon();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#getResetOnDisconnect(*args) ⇒ Object
209982 209983 209984 209985 209986 209987 209988 209989 209990 209991 209992 209993 209994 209995 209996 209997 209998 209999 210000 210001 210002 210003 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209982
SWIGINTERN VALUE
_wrap_Session_getResetOnDisconnect(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getResetOnDisconnect", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->getResetOnDisconnect();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#getResetOnLogon(*args) ⇒ Object
209876 209877 209878 209879 209880 209881 209882 209883 209884 209885 209886 209887 209888 209889 209890 209891 209892 209893 209894 209895 209896 209897 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209876
SWIGINTERN VALUE
_wrap_Session_getResetOnLogon(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getResetOnLogon", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->getResetOnLogon();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#getResetOnLogout(*args) ⇒ Object
209929 209930 209931 209932 209933 209934 209935 209936 209937 209938 209939 209940 209941 209942 209943 209944 209945 209946 209947 209948 209949 209950 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209929
SWIGINTERN VALUE
_wrap_Session_getResetOnLogout(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getResetOnLogout", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->getResetOnLogout();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#getSenderDefaultApplVerID(*args) ⇒ Object
209422 209423 209424 209425 209426 209427 209428 209429 209430 209431 209432 209433 209434 209435 209436 209437 209438 209439 209440 209441 209442 209443 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209422
SWIGINTERN VALUE
_wrap_Session_getSenderDefaultApplVerID(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::string *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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getSenderDefaultApplVerID", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (std::string *) &(arg1)->getSenderDefaultApplVerID();
vresult = SWIG_From_std_string(static_cast< std::string >(*result));
return vresult;
fail:
return Qnil;
}
|
#getSendRedundantResendRequests(*args) ⇒ Object
209558 209559 209560 209561 209562 209563 209564 209565 209566 209567 209568 209569 209570 209571 209572 209573 209574 209575 209576 209577 209578 209579 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209558
SWIGINTERN VALUE
_wrap_Session_getSendRedundantResendRequests(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getSendRedundantResendRequests", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->getSendRedundantResendRequests();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#getSessionID(*args) ⇒ Object
208287 208288 208289 208290 208291 208292 208293 208294 208295 208296 208297 208298 208299 208300 208301 208302 208303 208304 208305 208306 208307 208308 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208287
SWIGINTERN VALUE
_wrap_Session_getSessionID(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
FIX::SessionID *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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session const *","getSessionID", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (FIX::SessionID *) &((FIX::Session const *)arg1)->getSessionID();
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_FIX__SessionID, 0 | 0 );
return vresult;
fail:
return Qnil;
}
|
#getStore(*args) ⇒ Object
210856 210857 210858 210859 210860 210861 210862 210863 210864 210865 210866 210867 210868 210869 210870 210871 210872 210873 210874 210875 210876 210877 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210856
SWIGINTERN VALUE
_wrap_Session_getStore(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
MessageStore *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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getStore", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (MessageStore *)(arg1)->getStore();
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MessageStore, 0 | 0 );
return vresult;
fail:
return Qnil;
}
|
#getTargetDefaultApplVerID(*args) ⇒ Object
209490 209491 209492 209493 209494 209495 209496 209497 209498 209499 209500 209501 209502 209503 209504 209505 209506 209507 209508 209509 209510 209511 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209490
SWIGINTERN VALUE
_wrap_Session_getTargetDefaultApplVerID(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
std::string *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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getTargetDefaultApplVerID", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (std::string *) &(arg1)->getTargetDefaultApplVerID();
vresult = SWIG_From_std_string(static_cast< std::string >(*result));
return vresult;
fail:
return Qnil;
}
|
#getTimestampPrecision(*args) ⇒ Object
210141 210142 210143 210144 210145 210146 210147 210148 210149 210150 210151 210152 210153 210154 210155 210156 210157 210158 210159 210160 210161 210162 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210141
SWIGINTERN VALUE
_wrap_Session_getTimestampPrecision(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getTimestampPrecision", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (int)(arg1)->getTimestampPrecision();
vresult = SWIG_From_int(static_cast< int >(result));
return vresult;
fail:
return Qnil;
}
|
#getValidateLengthAndChecksum(*args) ⇒ Object
210247 210248 210249 210250 210251 210252 210253 210254 210255 210256 210257 210258 210259 210260 210261 210262 210263 210264 210265 210266 210267 210268 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210247
SWIGINTERN VALUE
_wrap_Session_getValidateLengthAndChecksum(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","getValidateLengthAndChecksum", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->getValidateLengthAndChecksum();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#isAcceptor(*args) ⇒ Object
209342 209343 209344 209345 209346 209347 209348 209349 209350 209351 209352 209353 209354 209355 209356 209357 209358 209359 209360 209361 209362 209363 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209342
SWIGINTERN VALUE
_wrap_Session_isAcceptor(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","isAcceptor", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->isAcceptor();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#isEnabled(*args) ⇒ Object
208043 208044 208045 208046 208047 208048 208049 208050 208051 208052 208053 208054 208055 208056 208057 208058 208059 208060 208061 208062 208063 208064 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208043
SWIGINTERN VALUE
_wrap_Session_isEnabled(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","isEnabled", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->isEnabled();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#isInitiator(*args) ⇒ Object
209318 209319 209320 209321 209322 209323 209324 209325 209326 209327 209328 209329 209330 209331 209332 209333 209334 209335 209336 209337 209338 209339 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209318
SWIGINTERN VALUE
_wrap_Session_isInitiator(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","isInitiator", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->isInitiator();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#isLoggedOn(*args) ⇒ Object
208139 208140 208141 208142 208143 208144 208145 208146 208147 208148 208149 208150 208151 208152 208153 208154 208155 208156 208157 208158 208159 208160 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208139
SWIGINTERN VALUE
_wrap_Session_isLoggedOn(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","isLoggedOn", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->isLoggedOn();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#isLogonTime(*args) ⇒ Object
209283 209284 209285 209286 209287 209288 209289 209290 209291 209292 209293 209294 209295 209296 209297 209298 209299 209300 209301 209302 209303 209304 209305 209306 209307 209308 209309 209310 209311 209312 209313 209314 209315 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209283
SWIGINTERN VALUE
_wrap_Session_isLogonTime(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
UtcTimeStamp *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
bool result;
VALUE vresult = Qnil;
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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","isLogonTime", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_UtcTimeStamp, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "UtcTimeStamp const &","isLogonTime", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "UtcTimeStamp const &","isLogonTime", 2, argv[0]));
}
arg2 = reinterpret_cast< UtcTimeStamp * >(argp2);
result = (bool)(arg1)->isLogonTime((UtcTimeStamp const &)*arg2);
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#isSessionTime(*args) ⇒ Object
209248 209249 209250 209251 209252 209253 209254 209255 209256 209257 209258 209259 209260 209261 209262 209263 209264 209265 209266 209267 209268 209269 209270 209271 209272 209273 209274 209275 209276 209277 209278 209279 209280 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209248
SWIGINTERN VALUE
_wrap_Session_isSessionTime(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
UtcTimeStamp *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
bool result;
VALUE vresult = Qnil;
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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","isSessionTime", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_UtcTimeStamp, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "UtcTimeStamp const &","isSessionTime", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "UtcTimeStamp const &","isSessionTime", 2, argv[0]));
}
arg2 = reinterpret_cast< UtcTimeStamp * >(argp2);
result = (bool)(arg1)->isSessionTime((UtcTimeStamp const &)*arg2);
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#logon(*args) ⇒ Object
207914 207915 207916 207917 207918 207919 207920 207921 207922 207923 207924 207925 207926 207927 207928 207929 207930 207931 207932 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 207914
SWIGINTERN VALUE
_wrap_Session_logon(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","logon", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
(arg1)->logon();
return Qnil;
fail:
return Qnil;
}
|
#logout(*args, self) ⇒ Object
208000 208001 208002 208003 208004 208005 208006 208007 208008 208009 208010 208011 208012 208013 208014 208015 208016 208017 208018 208019 208020 208021 208022 208023 208024 208025 208026 208027 208028 208029 208030 208031 208032 208033 208034 208035 208036 208037 208038 208039 208040 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208000
SWIGINTERN VALUE _wrap_Session_logout(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[3];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 3) SWIG_fail;
for (ii = 1; (ii < argc); ++ii) {
argv[ii] = args[ii-1];
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Session, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_logout__SWIG_1(nargs, args, self);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Session, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_logout__SWIG_0(nargs, args, self);
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 3, "Session.logout",
" void Session.logout(std::string const &reason)\n"
" void Session.logout()\n");
return Qnil;
}
|
#next(*args, self) ⇒ Object
210629 210630 210631 210632 210633 210634 210635 210636 210637 210638 210639 210640 210641 210642 210643 210644 210645 210646 210647 210648 210649 210650 210651 210652 210653 210654 210655 210656 210657 210658 210659 210660 210661 210662 210663 210664 210665 210666 210667 210668 210669 210670 210671 210672 210673 210674 210675 210676 210677 210678 210679 210680 210681 210682 210683 210684 210685 210686 210687 210688 210689 210690 210691 210692 210693 210694 210695 210696 210697 210698 210699 210700 210701 210702 210703 210704 210705 210706 210707 210708 210709 210710 210711 210712 210713 210714 210715 210716 210717 210718 210719 210720 210721 210722 210723 210724 210725 210726 210727 210728 210729 210730 210731 210732 210733 210734 210735 210736 210737 210738 210739 210740 210741 210742 210743 210744 210745 210746 210747 210748 210749 210750 210751 210752 210753 210754 210755 210756 210757 210758 210759 210760 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210629
SWIGINTERN VALUE _wrap_Session_next(int nargs, VALUE *args, VALUE self) {
int argc;
VALUE argv[5];
int ii;
argc = nargs + 1;
argv[0] = self;
if (argc > 5) SWIG_fail;
for (ii = 1; (ii < argc); ++ii) {
argv[ii] = args[ii-1];
}
if (argc == 1) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Session, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_next__SWIG_0(nargs, args, self);
}
}
if (argc == 2) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Session, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_UtcTimeStamp, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_next__SWIG_1(nargs, args, self);
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Session, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_UtcTimeStamp, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_next__SWIG_5(nargs, args, self);
}
}
}
}
if (argc == 3) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Session, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_UtcTimeStamp, 0);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_Session_next__SWIG_3(nargs, args, self);
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Session, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__Message, 0);
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_UtcTimeStamp, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Session_next__SWIG_4(nargs, args, self);
}
}
}
}
}
if (argc == 4) {
int _v;
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_FIX__Session, 0);
_v = SWIG_CheckState(res);
if (_v) {
int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0));
_v = SWIG_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_UtcTimeStamp, 0);
_v = SWIG_CheckState(res);
if (_v) {
{
int res = SWIG_AsVal_bool(argv[3], NULL);
_v = SWIG_CheckState(res);
}
if (_v) {
return _wrap_Session_next__SWIG_2(nargs, args, self);
}
}
}
}
}
fail:
Ruby_Format_OverloadedError( argc, 5, "Session.next",
" void Session.next()\n"
" void Session.next(UtcTimeStamp const &timeStamp)\n"
" void Session.next(std::string const &, UtcTimeStamp const &timeStamp, bool queued)\n"
" void Session.next(std::string const &, UtcTimeStamp const &timeStamp)\n"
" void Session.next(FIX::Message const &, UtcTimeStamp const &timeStamp, bool queued)\n"
" void Session.next(FIX::Message const &, UtcTimeStamp const &timeStamp)\n");
return Qnil;
}
|
#receivedLogon(*args) ⇒ Object
208115 208116 208117 208118 208119 208120 208121 208122 208123 208124 208125 208126 208127 208128 208129 208130 208131 208132 208133 208134 208135 208136 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208115
SWIGINTERN VALUE
_wrap_Session_receivedLogon(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","receivedLogon", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->receivedLogon();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#refresh(*args) ⇒ Object
208190 208191 208192 208193 208194 208195 208196 208197 208198 208199 208200 208201 208202 208203 208204 208205 208206 208207 208208 208209 208210 208211 208212 208213 208214 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208190
SWIGINTERN VALUE
_wrap_Session_refresh(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","refresh", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
try {
(arg1)->refresh();
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#reset(*args) ⇒ Object
208163 208164 208165 208166 208167 208168 208169 208170 208171 208172 208173 208174 208175 208176 208177 208178 208179 208180 208181 208182 208183 208184 208185 208186 208187 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208163
SWIGINTERN VALUE
_wrap_Session_reset(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","reset", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
try {
(arg1)->reset();
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#send(*args) ⇒ Object
210329 210330 210331 210332 210333 210334 210335 210336 210337 210338 210339 210340 210341 210342 210343 210344 210345 210346 210347 210348 210349 210350 210351 210352 210353 210354 210355 210356 210357 210358 210359 210360 210361 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210329
SWIGINTERN VALUE
_wrap_Session_send(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
FIX::Message *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
bool result;
VALUE vresult = Qnil;
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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","send", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FIX__Message, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FIX::Message &","send", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::Message &","send", 2, argv[0]));
}
arg2 = reinterpret_cast< FIX::Message * >(argp2);
result = (bool)(arg1)->send(*arg2);
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#sentLogon(*args) ⇒ Object
208067 208068 208069 208070 208071 208072 208073 208074 208075 208076 208077 208078 208079 208080 208081 208082 208083 208084 208085 208086 208087 208088 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208067
SWIGINTERN VALUE
_wrap_Session_sentLogon(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","sentLogon", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->sentLogon();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#sentLogout(*args) ⇒ Object
208091 208092 208093 208094 208095 208096 208097 208098 208099 208100 208101 208102 208103 208104 208105 208106 208107 208108 208109 208110 208111 208112 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208091
SWIGINTERN VALUE
_wrap_Session_sentLogout(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","sentLogout", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
result = (bool)(arg1)->sentLogout();
vresult = SWIG_From_bool(static_cast< bool >(result));
return vresult;
fail:
return Qnil;
}
|
#setCheckCompId(*args) ⇒ Object
209635 209636 209637 209638 209639 209640 209641 209642 209643 209644 209645 209646 209647 209648 209649 209650 209651 209652 209653 209654 209655 209656 209657 209658 209659 209660 209661 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209635
SWIGINTERN VALUE
_wrap_Session_setCheckCompId(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setCheckCompId", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_bool(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","setCheckCompId", 2, argv[0] ));
}
arg2 = static_cast< bool >(val2);
(arg1)->setCheckCompId(arg2);
return Qnil;
fail:
return Qnil;
}
|
#setCheckLatency(*args) ⇒ Object
209688 209689 209690 209691 209692 209693 209694 209695 209696 209697 209698 209699 209700 209701 209702 209703 209704 209705 209706 209707 209708 209709 209710 209711 209712 209713 209714 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209688
SWIGINTERN VALUE
_wrap_Session_setCheckLatency(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setCheckLatency", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_bool(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","setCheckLatency", 2, argv[0] ));
}
arg2 = static_cast< bool >(val2);
(arg1)->setCheckLatency(arg2);
return Qnil;
fail:
return Qnil;
}
|
#setDataDictionaryProvider(*args) ⇒ Object
208311 208312 208313 208314 208315 208316 208317 208318 208319 208320 208321 208322 208323 208324 208325 208326 208327 208328 208329 208330 208331 208332 208333 208334 208335 208336 208337 208338 208339 208340 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208311
SWIGINTERN VALUE
_wrap_Session_setDataDictionaryProvider(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
DataDictionaryProvider *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setDataDictionaryProvider", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_DataDictionaryProvider, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "DataDictionaryProvider const &","setDataDictionaryProvider", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "DataDictionaryProvider const &","setDataDictionaryProvider", 2, argv[0]));
}
arg2 = reinterpret_cast< DataDictionaryProvider * >(argp2);
(arg1)->setDataDictionaryProvider((DataDictionaryProvider const &)*arg2);
return Qnil;
fail:
return Qnil;
}
|
#setLogonTime(*args) ⇒ Object
209390 209391 209392 209393 209394 209395 209396 209397 209398 209399 209400 209401 209402 209403 209404 209405 209406 209407 209408 209409 209410 209411 209412 209413 209414 209415 209416 209417 209418 209419 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209390
SWIGINTERN VALUE
_wrap_Session_setLogonTime(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
TimeRange *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setLogonTime", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_TimeRange, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "TimeRange const &","setLogonTime", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "TimeRange const &","setLogonTime", 2, argv[0]));
}
arg2 = reinterpret_cast< TimeRange * >(argp2);
(arg1)->setLogonTime((TimeRange const &)*arg2);
return Qnil;
fail:
return Qnil;
}
|
#setLogonTimeout(*args) ⇒ Object
209794 209795 209796 209797 209798 209799 209800 209801 209802 209803 209804 209805 209806 209807 209808 209809 209810 209811 209812 209813 209814 209815 209816 209817 209818 209819 209820 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209794
SWIGINTERN VALUE
_wrap_Session_setLogonTimeout(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setLogonTimeout", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","setLogonTimeout", 2, argv[0] ));
}
arg2 = static_cast< int >(val2);
(arg1)->setLogonTimeout(arg2);
return Qnil;
fail:
return Qnil;
}
|
#setLogoutTimeout(*args) ⇒ Object
209847 209848 209849 209850 209851 209852 209853 209854 209855 209856 209857 209858 209859 209860 209861 209862 209863 209864 209865 209866 209867 209868 209869 209870 209871 209872 209873 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209847
SWIGINTERN VALUE
_wrap_Session_setLogoutTimeout(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setLogoutTimeout", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","setLogoutTimeout", 2, argv[0] ));
}
arg2 = static_cast< int >(val2);
(arg1)->setLogoutTimeout(arg2);
return Qnil;
fail:
return Qnil;
}
|
#setMaxLatency(*args) ⇒ Object
209741 209742 209743 209744 209745 209746 209747 209748 209749 209750 209751 209752 209753 209754 209755 209756 209757 209758 209759 209760 209761 209762 209763 209764 209765 209766 209767 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209741
SWIGINTERN VALUE
_wrap_Session_setMaxLatency(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setMaxLatency", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","setMaxLatency", 2, argv[0] ));
}
arg2 = static_cast< int >(val2);
(arg1)->setMaxLatency(arg2);
return Qnil;
fail:
return Qnil;
}
|
#setMillisecondsInTimeStamp(*args) ⇒ Object
210112 210113 210114 210115 210116 210117 210118 210119 210120 210121 210122 210123 210124 210125 210126 210127 210128 210129 210130 210131 210132 210133 210134 210135 210136 210137 210138 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210112
SWIGINTERN VALUE
_wrap_Session_setMillisecondsInTimeStamp(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setMillisecondsInTimeStamp", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_bool(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","setMillisecondsInTimeStamp", 2, argv[0] ));
}
arg2 = static_cast< bool >(val2);
(arg1)->setMillisecondsInTimeStamp(arg2);
return Qnil;
fail:
return Qnil;
}
|
#setNextSenderMsgSeqNum(*args) ⇒ Object
208217 208218 208219 208220 208221 208222 208223 208224 208225 208226 208227 208228 208229 208230 208231 208232 208233 208234 208235 208236 208237 208238 208239 208240 208241 208242 208243 208244 208245 208246 208247 208248 208249 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208217
SWIGINTERN VALUE
_wrap_Session_setNextSenderMsgSeqNum(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setNextSenderMsgSeqNum", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","setNextSenderMsgSeqNum", 2, argv[0] ));
}
arg2 = static_cast< int >(val2);
try {
(arg1)->setNextSenderMsgSeqNum(arg2);
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#setNextTargetMsgSeqNum(*args) ⇒ Object
208252 208253 208254 208255 208256 208257 208258 208259 208260 208261 208262 208263 208264 208265 208266 208267 208268 208269 208270 208271 208272 208273 208274 208275 208276 208277 208278 208279 208280 208281 208282 208283 208284 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 208252
SWIGINTERN VALUE
_wrap_Session_setNextTargetMsgSeqNum(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setNextTargetMsgSeqNum", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","setNextTargetMsgSeqNum", 2, argv[0] ));
}
arg2 = static_cast< int >(val2);
try {
(arg1)->setNextTargetMsgSeqNum(arg2);
}
catch(FIX::IOException &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IOException, SWIG_NewPointerObj((new FIX::IOException(static_cast< const FIX::IOException& >(_e))),SWIGTYPE_p_FIX__IOException,SWIG_POINTER_OWN))); SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#setPersistMessages(*args) ⇒ Object
210218 210219 210220 210221 210222 210223 210224 210225 210226 210227 210228 210229 210230 210231 210232 210233 210234 210235 210236 210237 210238 210239 210240 210241 210242 210243 210244 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210218
SWIGINTERN VALUE
_wrap_Session_setPersistMessages(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setPersistMessages", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_bool(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","setPersistMessages", 2, argv[0] ));
}
arg2 = static_cast< bool >(val2);
(arg1)->setPersistMessages(arg2);
return Qnil;
fail:
return Qnil;
}
|
#setRefreshOnLogon(*args) ⇒ Object
210059 210060 210061 210062 210063 210064 210065 210066 210067 210068 210069 210070 210071 210072 210073 210074 210075 210076 210077 210078 210079 210080 210081 210082 210083 210084 210085 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210059
SWIGINTERN VALUE
_wrap_Session_setRefreshOnLogon(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setRefreshOnLogon", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_bool(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","setRefreshOnLogon", 2, argv[0] ));
}
arg2 = static_cast< bool >(val2);
(arg1)->setRefreshOnLogon(arg2);
return Qnil;
fail:
return Qnil;
}
|
#setResetOnDisconnect(*args) ⇒ Object
210006 210007 210008 210009 210010 210011 210012 210013 210014 210015 210016 210017 210018 210019 210020 210021 210022 210023 210024 210025 210026 210027 210028 210029 210030 210031 210032 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210006
SWIGINTERN VALUE
_wrap_Session_setResetOnDisconnect(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setResetOnDisconnect", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_bool(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","setResetOnDisconnect", 2, argv[0] ));
}
arg2 = static_cast< bool >(val2);
(arg1)->setResetOnDisconnect(arg2);
return Qnil;
fail:
return Qnil;
}
|
#setResetOnLogon(*args) ⇒ Object
209900 209901 209902 209903 209904 209905 209906 209907 209908 209909 209910 209911 209912 209913 209914 209915 209916 209917 209918 209919 209920 209921 209922 209923 209924 209925 209926 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209900
SWIGINTERN VALUE
_wrap_Session_setResetOnLogon(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setResetOnLogon", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_bool(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","setResetOnLogon", 2, argv[0] ));
}
arg2 = static_cast< bool >(val2);
(arg1)->setResetOnLogon(arg2);
return Qnil;
fail:
return Qnil;
}
|
#setResetOnLogout(*args) ⇒ Object
209953 209954 209955 209956 209957 209958 209959 209960 209961 209962 209963 209964 209965 209966 209967 209968 209969 209970 209971 209972 209973 209974 209975 209976 209977 209978 209979 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209953
SWIGINTERN VALUE
_wrap_Session_setResetOnLogout(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setResetOnLogout", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_bool(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","setResetOnLogout", 2, argv[0] ));
}
arg2 = static_cast< bool >(val2);
(arg1)->setResetOnLogout(arg2);
return Qnil;
fail:
return Qnil;
}
|
#setResponder(*args) ⇒ Object
210300 210301 210302 210303 210304 210305 210306 210307 210308 210309 210310 210311 210312 210313 210314 210315 210316 210317 210318 210319 210320 210321 210322 210323 210324 210325 210326 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210300
SWIGINTERN VALUE
_wrap_Session_setResponder(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
Responder *arg2 = (Responder *) 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setResponder", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_Responder, 0 | 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "Responder *","setResponder", 2, argv[0] ));
}
arg2 = reinterpret_cast< Responder * >(argp2);
(arg1)->setResponder(arg2);
return Qnil;
fail:
return Qnil;
}
|
#setSenderDefaultApplVerID(*args) ⇒ Object
209446 209447 209448 209449 209450 209451 209452 209453 209454 209455 209456 209457 209458 209459 209460 209461 209462 209463 209464 209465 209466 209467 209468 209469 209470 209471 209472 209473 209474 209475 209476 209477 209478 209479 209480 209481 209482 209483 209484 209485 209486 209487 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209446
SWIGINTERN VALUE
_wrap_Session_setSenderDefaultApplVerID(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
VALUE vresult = Qnil;
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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setSenderDefaultApplVerID", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(argv[0], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::string const &","setSenderDefaultApplVerID", 2, argv[0] ));
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","setSenderDefaultApplVerID", 2, argv[0]));
}
arg2 = ptr;
}
(arg1)->setSenderDefaultApplVerID((std::string const &)*arg2);
{
if( std::string("std::string const &") == "std::string &" )
{
rb_str_resize( argv[0], 0 );
rb_str_append( argv[0], rb_str_new2(arg2->c_str()) );
}
}
if (SWIG_IsNewObj(res2)) delete arg2;
return vresult;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return Qnil;
}
|
#setSendRedundantResendRequests(*args) ⇒ Object
209582 209583 209584 209585 209586 209587 209588 209589 209590 209591 209592 209593 209594 209595 209596 209597 209598 209599 209600 209601 209602 209603 209604 209605 209606 209607 209608 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209582
SWIGINTERN VALUE
_wrap_Session_setSendRedundantResendRequests(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setSendRedundantResendRequests", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_bool(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","setSendRedundantResendRequests", 2, argv[0] ));
}
arg2 = static_cast< bool >(val2);
(arg1)->setSendRedundantResendRequests(arg2);
return Qnil;
fail:
return Qnil;
}
|
#setTargetDefaultApplVerID(*args) ⇒ Object
209514 209515 209516 209517 209518 209519 209520 209521 209522 209523 209524 209525 209526 209527 209528 209529 209530 209531 209532 209533 209534 209535 209536 209537 209538 209539 209540 209541 209542 209543 209544 209545 209546 209547 209548 209549 209550 209551 209552 209553 209554 209555 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 209514
SWIGINTERN VALUE
_wrap_Session_setTargetDefaultApplVerID(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
std::string *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
int res2 = SWIG_OLDOBJ ;
VALUE vresult = Qnil;
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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setTargetDefaultApplVerID", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
{
std::string *ptr = (std::string *)0;
res2 = SWIG_AsPtr_std_string(argv[0], &ptr);
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "std::string const &","setTargetDefaultApplVerID", 2, argv[0] ));
}
if (!ptr) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "std::string const &","setTargetDefaultApplVerID", 2, argv[0]));
}
arg2 = ptr;
}
(arg1)->setTargetDefaultApplVerID((std::string const &)*arg2);
{
if( std::string("std::string const &") == "std::string &" )
{
rb_str_resize( argv[0], 0 );
rb_str_append( argv[0], rb_str_new2(arg2->c_str()) );
}
}
if (SWIG_IsNewObj(res2)) delete arg2;
return vresult;
fail:
if (SWIG_IsNewObj(res2)) delete arg2;
return Qnil;
}
|
#setTimestampPrecision(*args) ⇒ Object
210165 210166 210167 210168 210169 210170 210171 210172 210173 210174 210175 210176 210177 210178 210179 210180 210181 210182 210183 210184 210185 210186 210187 210188 210189 210190 210191 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210165
SWIGINTERN VALUE
_wrap_Session_setTimestampPrecision(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setTimestampPrecision", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_int(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "int","setTimestampPrecision", 2, argv[0] ));
}
arg2 = static_cast< int >(val2);
(arg1)->setTimestampPrecision(arg2);
return Qnil;
fail:
return Qnil;
}
|
#setValidateLengthAndChecksum(*args) ⇒ Object
210271 210272 210273 210274 210275 210276 210277 210278 210279 210280 210281 210282 210283 210284 210285 210286 210287 210288 210289 210290 210291 210292 210293 210294 210295 210296 210297 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 210271
SWIGINTERN VALUE
_wrap_Session_setValidateLengthAndChecksum(int argc, VALUE *argv, VALUE self) {
FIX::Session *arg1 = (FIX::Session *) 0 ;
bool arg2 ;
void *argp1 = 0 ;
int res1 = 0 ;
bool 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_FIX__Session, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Session *","setValidateLengthAndChecksum", 1, self ));
}
arg1 = reinterpret_cast< FIX::Session * >(argp1);
ecode2 = SWIG_AsVal_bool(argv[0], &val2);
if (!SWIG_IsOK(ecode2)) {
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","setValidateLengthAndChecksum", 2, argv[0] ));
}
arg2 = static_cast< bool >(val2);
(arg1)->setValidateLengthAndChecksum(arg2);
return Qnil;
fail:
return Qnil;
}
|