Class: Quickfix::Application
- Inherits:
-
Object
- Object
- Quickfix::Application
- Defined in:
- ext/quickfix/QuickfixRuby.cpp
Instance Method Summary collapse
- #fromAdmin(*args) ⇒ Object
- #fromApp(*args) ⇒ Object
- #initialize(*args) ⇒ Object constructor
- #onCreate(*args) ⇒ Object
- #onLogon(*args) ⇒ Object
- #onLogout(*args) ⇒ Object
- #toAdmin(*args) ⇒ Object
- #toApp(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Object
215673 215674 215675 215676 215677 215678 215679 215680 215681 215682 215683 215684 215685 215686 215687 215688 215689 215690 215691 215692 215693 215694 215695 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 215673
SWIGINTERN VALUE
_wrap_new_Application(int argc, VALUE *argv, VALUE self) {
VALUE arg1 = (VALUE) 0 ;
const char *classname SWIGUNUSED = "Quickfix::Application";
FIX::Application *result = 0 ;
if ((argc < 0) || (argc > 0)) {
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
}
arg1 = self;
if ( strcmp(rb_obj_classname(self), classname) != 0 ) {
/* subclassed */
result = (FIX::Application *)new SwigDirector_Application(arg1);
} else {
rb_raise(rb_eNameError,"accessing abstract class or protected constructor");
return Qnil;
}
DATA_PTR(self) = result;
return self;
fail:
return Qnil;
}
|
Instance Method Details
#fromAdmin(*args) ⇒ Object
215516 215517 215518 215519 215520 215521 215522 215523 215524 215525 215526 215527 215528 215529 215530 215531 215532 215533 215534 215535 215536 215537 215538 215539 215540 215541 215542 215543 215544 215545 215546 215547 215548 215549 215550 215551 215552 215553 215554 215555 215556 215557 215558 215559 215560 215561 215562 215563 215564 215565 215566 215567 215568 215569 215570 215571 215572 215573 215574 215575 215576 215577 215578 215579 215580 215581 215582 215583 215584 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 215516
SWIGINTERN VALUE
_wrap_Application_fromAdmin(int argc, VALUE *argv, VALUE self) {
FIX::Application *arg1 = (FIX::Application *) 0 ;
FIX::Message *arg2 = 0 ;
FIX::SessionID *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
void *argp3 ;
int res3 = 0 ;
Swig::Director *director = 0;
bool upcall = false;
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_FIX__Application, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Application *","fromAdmin", 1, self ));
}
arg1 = reinterpret_cast< FIX::Application * >(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 const &","fromAdmin", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::Message const &","fromAdmin", 2, argv[0]));
}
arg2 = reinterpret_cast< FIX::Message * >(argp2);
res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FIX__SessionID, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FIX::SessionID const &","fromAdmin", 3, argv[1] ));
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::SessionID const &","fromAdmin", 3, argv[1]));
}
arg3 = reinterpret_cast< FIX::SessionID * >(argp3);
director = dynamic_cast<Swig::Director *>(arg1);
upcall = (director && (director->swig_get_self() == self));
try {
try {
if (upcall) {
Swig::DirectorPureVirtualException::raise("FIX::Application::fromAdmin");
} else {
(arg1)->fromAdmin((FIX::Message const &)*arg2,(FIX::SessionID const &)*arg3);
}
}
catch(FIX::FieldNotFound &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__FieldNotFound, SWIG_NewPointerObj((new FIX::FieldNotFound(static_cast< const FIX::FieldNotFound& >(_e))),SWIGTYPE_p_FIX__FieldNotFound,SWIG_POINTER_OWN))); SWIG_fail;
}
catch(FIX::IncorrectDataFormat &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IncorrectDataFormat, SWIG_NewPointerObj((new FIX::IncorrectDataFormat(static_cast< const FIX::IncorrectDataFormat& >(_e))),SWIGTYPE_p_FIX__IncorrectDataFormat,SWIG_POINTER_OWN))); SWIG_fail;
}
catch(FIX::IncorrectTagValue &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IncorrectTagValue, SWIG_NewPointerObj((new FIX::IncorrectTagValue(static_cast< const FIX::IncorrectTagValue& >(_e))),SWIGTYPE_p_FIX__IncorrectTagValue,SWIG_POINTER_OWN))); SWIG_fail;
}
catch(FIX::RejectLogon &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__RejectLogon, SWIG_NewPointerObj((new FIX::RejectLogon(static_cast< const FIX::RejectLogon& >(_e))),SWIGTYPE_p_FIX__RejectLogon,SWIG_POINTER_OWN))); SWIG_fail;
}
} catch (Swig::DirectorException& e) {
rb_exc_raise(e.getError());
SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#fromApp(*args) ⇒ Object
215587 215588 215589 215590 215591 215592 215593 215594 215595 215596 215597 215598 215599 215600 215601 215602 215603 215604 215605 215606 215607 215608 215609 215610 215611 215612 215613 215614 215615 215616 215617 215618 215619 215620 215621 215622 215623 215624 215625 215626 215627 215628 215629 215630 215631 215632 215633 215634 215635 215636 215637 215638 215639 215640 215641 215642 215643 215644 215645 215646 215647 215648 215649 215650 215651 215652 215653 215654 215655 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 215587
SWIGINTERN VALUE
_wrap_Application_fromApp(int argc, VALUE *argv, VALUE self) {
FIX::Application *arg1 = (FIX::Application *) 0 ;
FIX::Message *arg2 = 0 ;
FIX::SessionID *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
void *argp3 ;
int res3 = 0 ;
Swig::Director *director = 0;
bool upcall = false;
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_FIX__Application, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Application *","fromApp", 1, self ));
}
arg1 = reinterpret_cast< FIX::Application * >(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 const &","fromApp", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::Message const &","fromApp", 2, argv[0]));
}
arg2 = reinterpret_cast< FIX::Message * >(argp2);
res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FIX__SessionID, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FIX::SessionID const &","fromApp", 3, argv[1] ));
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::SessionID const &","fromApp", 3, argv[1]));
}
arg3 = reinterpret_cast< FIX::SessionID * >(argp3);
director = dynamic_cast<Swig::Director *>(arg1);
upcall = (director && (director->swig_get_self() == self));
try {
try {
if (upcall) {
Swig::DirectorPureVirtualException::raise("FIX::Application::fromApp");
} else {
(arg1)->fromApp((FIX::Message const &)*arg2,(FIX::SessionID const &)*arg3);
}
}
catch(FIX::FieldNotFound &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__FieldNotFound, SWIG_NewPointerObj((new FIX::FieldNotFound(static_cast< const FIX::FieldNotFound& >(_e))),SWIGTYPE_p_FIX__FieldNotFound,SWIG_POINTER_OWN))); SWIG_fail;
}
catch(FIX::IncorrectDataFormat &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IncorrectDataFormat, SWIG_NewPointerObj((new FIX::IncorrectDataFormat(static_cast< const FIX::IncorrectDataFormat& >(_e))),SWIGTYPE_p_FIX__IncorrectDataFormat,SWIG_POINTER_OWN))); SWIG_fail;
}
catch(FIX::IncorrectTagValue &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__IncorrectTagValue, SWIG_NewPointerObj((new FIX::IncorrectTagValue(static_cast< const FIX::IncorrectTagValue& >(_e))),SWIGTYPE_p_FIX__IncorrectTagValue,SWIG_POINTER_OWN))); SWIG_fail;
}
catch(FIX::UnsupportedMessageType &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__UnsupportedMessageType, SWIG_NewPointerObj((new FIX::UnsupportedMessageType(static_cast< const FIX::UnsupportedMessageType& >(_e))),SWIGTYPE_p_FIX__UnsupportedMessageType,SWIG_POINTER_OWN))); SWIG_fail;
}
} catch (Swig::DirectorException& e) {
rb_exc_raise(e.getError());
SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#onCreate(*args) ⇒ Object
215263 215264 215265 215266 215267 215268 215269 215270 215271 215272 215273 215274 215275 215276 215277 215278 215279 215280 215281 215282 215283 215284 215285 215286 215287 215288 215289 215290 215291 215292 215293 215294 215295 215296 215297 215298 215299 215300 215301 215302 215303 215304 215305 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 215263
SWIGINTERN VALUE
_wrap_Application_onCreate(int argc, VALUE *argv, VALUE self) {
FIX::Application *arg1 = (FIX::Application *) 0 ;
FIX::SessionID *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
Swig::Director *director = 0;
bool upcall = false;
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__Application, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Application *","onCreate", 1, self ));
}
arg1 = reinterpret_cast< FIX::Application * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FIX__SessionID, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FIX::SessionID const &","onCreate", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::SessionID const &","onCreate", 2, argv[0]));
}
arg2 = reinterpret_cast< FIX::SessionID * >(argp2);
director = dynamic_cast<Swig::Director *>(arg1);
upcall = (director && (director->swig_get_self() == self));
try {
if (upcall) {
Swig::DirectorPureVirtualException::raise("FIX::Application::onCreate");
} else {
(arg1)->onCreate((FIX::SessionID const &)*arg2);
}
} catch (Swig::DirectorException& e) {
rb_exc_raise(e.getError());
SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#onLogon(*args) ⇒ Object
215308 215309 215310 215311 215312 215313 215314 215315 215316 215317 215318 215319 215320 215321 215322 215323 215324 215325 215326 215327 215328 215329 215330 215331 215332 215333 215334 215335 215336 215337 215338 215339 215340 215341 215342 215343 215344 215345 215346 215347 215348 215349 215350 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 215308
SWIGINTERN VALUE
_wrap_Application_onLogon(int argc, VALUE *argv, VALUE self) {
FIX::Application *arg1 = (FIX::Application *) 0 ;
FIX::SessionID *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
Swig::Director *director = 0;
bool upcall = false;
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__Application, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Application *","onLogon", 1, self ));
}
arg1 = reinterpret_cast< FIX::Application * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FIX__SessionID, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FIX::SessionID const &","onLogon", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::SessionID const &","onLogon", 2, argv[0]));
}
arg2 = reinterpret_cast< FIX::SessionID * >(argp2);
director = dynamic_cast<Swig::Director *>(arg1);
upcall = (director && (director->swig_get_self() == self));
try {
if (upcall) {
Swig::DirectorPureVirtualException::raise("FIX::Application::onLogon");
} else {
(arg1)->onLogon((FIX::SessionID const &)*arg2);
}
} catch (Swig::DirectorException& e) {
rb_exc_raise(e.getError());
SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#onLogout(*args) ⇒ Object
215353 215354 215355 215356 215357 215358 215359 215360 215361 215362 215363 215364 215365 215366 215367 215368 215369 215370 215371 215372 215373 215374 215375 215376 215377 215378 215379 215380 215381 215382 215383 215384 215385 215386 215387 215388 215389 215390 215391 215392 215393 215394 215395 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 215353
SWIGINTERN VALUE
_wrap_Application_onLogout(int argc, VALUE *argv, VALUE self) {
FIX::Application *arg1 = (FIX::Application *) 0 ;
FIX::SessionID *arg2 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 ;
int res2 = 0 ;
Swig::Director *director = 0;
bool upcall = false;
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__Application, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Application *","onLogout", 1, self ));
}
arg1 = reinterpret_cast< FIX::Application * >(argp1);
res2 = SWIG_ConvertPtr(argv[0], &argp2, SWIGTYPE_p_FIX__SessionID, 0 );
if (!SWIG_IsOK(res2)) {
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "FIX::SessionID const &","onLogout", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::SessionID const &","onLogout", 2, argv[0]));
}
arg2 = reinterpret_cast< FIX::SessionID * >(argp2);
director = dynamic_cast<Swig::Director *>(arg1);
upcall = (director && (director->swig_get_self() == self));
try {
if (upcall) {
Swig::DirectorPureVirtualException::raise("FIX::Application::onLogout");
} else {
(arg1)->onLogout((FIX::SessionID const &)*arg2);
}
} catch (Swig::DirectorException& e) {
rb_exc_raise(e.getError());
SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#toAdmin(*args) ⇒ Object
215398 215399 215400 215401 215402 215403 215404 215405 215406 215407 215408 215409 215410 215411 215412 215413 215414 215415 215416 215417 215418 215419 215420 215421 215422 215423 215424 215425 215426 215427 215428 215429 215430 215431 215432 215433 215434 215435 215436 215437 215438 215439 215440 215441 215442 215443 215444 215445 215446 215447 215448 215449 215450 215451 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 215398
SWIGINTERN VALUE
_wrap_Application_toAdmin(int argc, VALUE *argv, VALUE self) {
FIX::Application *arg1 = (FIX::Application *) 0 ;
FIX::Message *arg2 = 0 ;
FIX::SessionID *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 ;
int res3 = 0 ;
Swig::Director *director = 0;
bool upcall = false;
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_FIX__Application, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Application *","toAdmin", 1, self ));
}
arg1 = reinterpret_cast< FIX::Application * >(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 &","toAdmin", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::Message &","toAdmin", 2, argv[0]));
}
arg2 = reinterpret_cast< FIX::Message * >(argp2);
res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FIX__SessionID, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FIX::SessionID const &","toAdmin", 3, argv[1] ));
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::SessionID const &","toAdmin", 3, argv[1]));
}
arg3 = reinterpret_cast< FIX::SessionID * >(argp3);
director = dynamic_cast<Swig::Director *>(arg1);
upcall = (director && (director->swig_get_self() == self));
try {
if (upcall) {
Swig::DirectorPureVirtualException::raise("FIX::Application::toAdmin");
} else {
(arg1)->toAdmin(*arg2,(FIX::SessionID const &)*arg3);
}
} catch (Swig::DirectorException& e) {
rb_exc_raise(e.getError());
SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|
#toApp(*args) ⇒ Object
215454 215455 215456 215457 215458 215459 215460 215461 215462 215463 215464 215465 215466 215467 215468 215469 215470 215471 215472 215473 215474 215475 215476 215477 215478 215479 215480 215481 215482 215483 215484 215485 215486 215487 215488 215489 215490 215491 215492 215493 215494 215495 215496 215497 215498 215499 215500 215501 215502 215503 215504 215505 215506 215507 215508 215509 215510 215511 215512 215513 |
# File 'ext/quickfix/QuickfixRuby.cpp', line 215454
SWIGINTERN VALUE
_wrap_Application_toApp(int argc, VALUE *argv, VALUE self) {
FIX::Application *arg1 = (FIX::Application *) 0 ;
FIX::Message *arg2 = 0 ;
FIX::SessionID *arg3 = 0 ;
void *argp1 = 0 ;
int res1 = 0 ;
void *argp2 = 0 ;
int res2 = 0 ;
void *argp3 ;
int res3 = 0 ;
Swig::Director *director = 0;
bool upcall = false;
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_FIX__Application, 0 | 0 );
if (!SWIG_IsOK(res1)) {
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FIX::Application *","toApp", 1, self ));
}
arg1 = reinterpret_cast< FIX::Application * >(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 &","toApp", 2, argv[0] ));
}
if (!argp2) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::Message &","toApp", 2, argv[0]));
}
arg2 = reinterpret_cast< FIX::Message * >(argp2);
res3 = SWIG_ConvertPtr(argv[1], &argp3, SWIGTYPE_p_FIX__SessionID, 0 );
if (!SWIG_IsOK(res3)) {
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "FIX::SessionID const &","toApp", 3, argv[1] ));
}
if (!argp3) {
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "FIX::SessionID const &","toApp", 3, argv[1]));
}
arg3 = reinterpret_cast< FIX::SessionID * >(argp3);
director = dynamic_cast<Swig::Director *>(arg1);
upcall = (director && (director->swig_get_self() == self));
try {
try {
if (upcall) {
Swig::DirectorPureVirtualException::raise("FIX::Application::toApp");
} else {
(arg1)->toApp(*arg2,(FIX::SessionID const &)*arg3);
}
}
catch(FIX::DoNotSend &_e) {
rb_exc_raise(SWIG_Ruby_ExceptionType(SWIGTYPE_p_FIX__DoNotSend, SWIG_NewPointerObj((new FIX::DoNotSend(static_cast< const FIX::DoNotSend& >(_e))),SWIGTYPE_p_FIX__DoNotSend,SWIG_POINTER_OWN))); SWIG_fail;
}
} catch (Swig::DirectorException& e) {
rb_exc_raise(e.getError());
SWIG_fail;
}
return Qnil;
fail:
return Qnil;
}
|