~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/cosEvent/src/CosEventChannelAdmin_SupplierAdmin_impl.erl

  • Committer: Bazaar Package Importer
  • Author(s): Erlang Packagers, Sergei Golovan
  • Date: 2006-12-03 17:07:44 UTC
  • mfrom: (2.1.11 feisty)
  • Revision ID: james.westby@ubuntu.com-20061203170744-rghjwupacqlzs6kv
Tags: 1:11.b.2-4
[ Sergei Golovan ]
Fixed erlang-base and erlang-base-hipe prerm scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
%% Returns    : any (ignored by gen_server)
79
79
%% Description: Shutdown the server
80
80
%%----------------------------------------------------------------------
81
 
terminate(Reason, State) ->
82
 
    ?DBG("Terminating ~p~n", [Reason]),
 
81
terminate(_Reason, _State) ->
 
82
    ?DBG("Terminating ~p~n", [_Reason]),
83
83
    ok.
84
84
 
85
85
%%----------------------------------------------------------------------
87
87
%% Returns    : {ok, NewState}
88
88
%% Description: Convert process state when code is changed
89
89
%%----------------------------------------------------------------------
90
 
code_change(OldVsn, State, Extra) ->
 
90
code_change(_OldVsn, State, _Extra) ->
91
91
    {ok, State}.
92
92
 
93
93
%%---------------------------------------------------------------------%
99
99
%%----------------------------------------------------------------------
100
100
handle_info({'EXIT', Pid, Reason}, #state{channel_pid = Pid} = State) ->
101
101
    ?DBG("Parent Channel terminated ~p~n", [Reason]),
102
 
    orber:debug_level_print("[~p] CosEventChannelAdmin_SupplierAdmin:handle_info(~p); 
103
 
My Channel terminated and so will I.", [?LINE, Reason], ?DEBUG_LEVEL),
 
102
    orber:dbg("[~p] CosEventChannelAdmin_SupplierAdmin:handle_info(~p);~n"
 
103
              "My Channel terminated and so will I.", 
 
104
              [?LINE, Reason], ?DEBUG_LEVEL),
104
105
    {stop, Reason, State};
105
 
handle_info(Info, State) ->
106
 
    ?DBG("Unknown Info ~p~n", [Info]),
 
106
handle_info(_Info, State) ->
 
107
    ?DBG("Unknown Info ~p~n", [_Info]),
107
108
    {noreply, State}.
108
109
 
109
110
 
114
115
%% Description: 
115
116
%%----------------------------------------------------------------------
116
117
obtain_push_consumer(OE_This, #state{channel = Channel, 
117
 
                                     channel_pid = ChannelPid,
 
118
                                     channel_pid = _ChannelPid,
118
119
                                     typecheck = TypeCheck,
119
120
                                     server_options = ServerOpts} = State) ->
120
121
    ?DBG("Starting a new CosEventChannelAdmin_ProxyPushConsumer.~n", []),
133
134
%% Description: 
134
135
%%----------------------------------------------------------------------
135
136
obtain_pull_consumer(OE_This, #state{channel = Channel, 
136
 
                                     channel_pid = ChannelPid,
 
137
                                     channel_pid = _ChannelPid,
137
138
                                     typecheck = TypeCheck,
138
139
                                     pull_interval= PullInterval,
139
140
                                     server_options = ServerOpts} = State) ->