~ubuntu-branches/ubuntu/karmic/erlang/karmic-security

« back to all changes in this revision

Viewing changes to lib/cosNotification/src/PullerConsumer_impl.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-06-11 12:18:07 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090611121807-ks7eb4xrt7dsysgx
Tags: 1:13.b.1-dfsg-1
* New upstream release.
* Removed unnecessary dependency of erlang-os-mon on erlang-observer and
  erlang-tools and added missing dependency of erlang-nox on erlang-os-mon
  (closes: #529512).
* Removed a patch to eunit application because the bug was fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
538
538
%% Arguments: FilterID - long
539
539
%% Returns  : ok
540
540
%%-----------------------------------------------------------
541
 
remove_filter(_OE_THIS, _OE_FROM, State, FilterID) when integer(FilterID) ->
 
541
remove_filter(_OE_THIS, _OE_FROM, State, FilterID) when is_integer(FilterID) ->
542
542
    {reply, ok, ?del_Filter(State, FilterID)};
543
543
remove_filter(_,_,_,What) ->
544
544
    orber:dbg("[~p] PullerConsumer:remove_filter(~p); Not an integer", 
551
551
%% Returns  : Filter - CosNotifyFilter::Filter |
552
552
%%            {'EXCEPTION', #'CosNotifyFilter_FilterNotFound'{}}
553
553
%%-----------------------------------------------------------
554
 
get_filter(_OE_THIS, _OE_FROM, State, FilterID) when integer(FilterID) ->
 
554
get_filter(_OE_THIS, _OE_FROM, State, FilterID) when is_integer(FilterID) ->
555
555
    {reply, ?get_Filter(State, FilterID), State};
556
556
get_filter(_,_,_,What) ->
557
557
    orber:dbg("[~p] PullerConsumer:get_filter(~p); Not an integer", 
713
713
        ok ->
714
714
            ?DBG("PROXY FORWARD ANY: ~p~n",[Event]),
715
715
            {noreply, State};
716
 
        {'EXCEPTION', E} when record(E, 'OBJECT_NOT_EXIST') ;
717
 
                              record(E, 'NO_PERMISSION') ;
718
 
                              record(E, 'CosEventComm_Disconnected') ->
 
716
        {'EXCEPTION', E} when is_record(E, 'OBJECT_NOT_EXIST') orelse
 
717
                              is_record(E, 'NO_PERMISSION') orelse
 
718
                              is_record(E, 'CosEventComm_Disconnected') ->
719
719
            orber:dbg("[~p] PullerConsumer:forward();~n"
720
720
                      "Admin/Channel no longer exists; terminating and dropping: ~p", 
721
721
                      [?LINE, Event], ?DEBUG_LEVEL),
743
743
        ok ->
744
744
            ?DBG("PROXY FORWARD SEQUENCE: ~p~n",[Event]),
745
745
            {noreply, State};
746
 
        {'EXCEPTION', E} when record(E, 'OBJECT_NOT_EXIST') ;
747
 
                              record(E, 'NO_PERMISSION') ;
748
 
                              record(E, 'CosEventComm_Disconnected') ->
 
746
        {'EXCEPTION', E} when is_record(E, 'OBJECT_NOT_EXIST') orelse
 
747
                              is_record(E, 'NO_PERMISSION') orelse
 
748
                              is_record(E, 'CosEventComm_Disconnected') ->
749
749
            orber:dbg("[~p] PullerConsumer:forward();~n"
750
750
                      "Admin/Channel no longer exists; terminating and dropping: ~p", 
751
751
                      [?LINE, Event], ?DEBUG_LEVEL),