diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-03-02 02:36:03 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-03-02 02:36:03 +0000 |
commit | 5153bbfbb544faae5c68a067fd46434bfb6d785d (patch) | |
tree | 2f942ebae4a8ab40917d50ecdc9b914e37ce5fc8 /TAO/tao/PollableC.cpp | |
parent | 44916d8e0f4a51ac3d5319cca153741d784feac0 (diff) | |
download | ATCD-5153bbfbb544faae5c68a067fd46434bfb6d785d.tar.gz |
ChangeLogTag:Wed Mar 1 18:01:37 2000 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/tao/PollableC.cpp')
-rw-r--r-- | TAO/tao/PollableC.cpp | 36 |
1 files changed, 34 insertions, 2 deletions
diff --git a/TAO/tao/PollableC.cpp b/TAO/tao/PollableC.cpp index e83dd53ae25..d94e482ec6e 100644 --- a/TAO/tao/PollableC.cpp +++ b/TAO/tao/PollableC.cpp @@ -457,11 +457,27 @@ CORBA_PollableSet::NoPossiblePollable::_narrow (CORBA::Exception *exc) } -void CORBA_PollableSet::NoPossiblePollable::_raise () +void CORBA_PollableSet::NoPossiblePollable::_raise (void) { TAO_RAISE(*this); } +void CORBA_PollableSet::NoPossiblePollable::_tao_encode (TAO_OutputCDR &cdr, + CORBA::Environment &ACE_TRY_ENV) const +{ + if (cdr << *this) + return; + ACE_THROW (CORBA::MARSHAL ()); +} + +void CORBA_PollableSet::NoPossiblePollable::_tao_decode (TAO_InputCDR &cdr, + CORBA::Environment &ACE_TRY_ENV) +{ + if (cdr >> *this) + return; + ACE_THROW (CORBA::MARSHAL ()); +} + // TAO extension - the _alloc method CORBA::Exception *CORBA_PollableSet::NoPossiblePollable::_alloc (void) { @@ -521,11 +537,27 @@ CORBA_PollableSet::UnknownPollable::_narrow (CORBA::Exception *exc) } -void CORBA_PollableSet::UnknownPollable::_raise () +void CORBA_PollableSet::UnknownPollable::_raise (void) { TAO_RAISE(*this); } +void CORBA_PollableSet::UnknownPollable::_tao_encode (TAO_OutputCDR &cdr, + CORBA::Environment &ACE_TRY_ENV) const +{ + if (cdr << *this) + return; + ACE_THROW (CORBA::MARSHAL ()); +} + +void CORBA_PollableSet::UnknownPollable::_tao_decode (TAO_InputCDR &cdr, + CORBA::Environment &ACE_TRY_ENV) +{ + if (cdr >> *this) + return; + ACE_THROW (CORBA::MARSHAL ()); +} + // TAO extension - the _alloc method CORBA::Exception *CORBA_PollableSet::UnknownPollable::_alloc (void) { |