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

« back to all changes in this revision

Viewing changes to lib/cosTransactions/src/CosTransactions_TransactionFactory_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:
87
87
%%            terminate a gen_server.
88
88
%%------------------------------------------------------------
89
89
 
90
 
terminate(Reason, State) ->
91
 
    ?debug_print("Factory:terminate(~p)~n", [Reason]),
 
90
terminate(_Reason, _State) ->
 
91
    ?debug_print("Factory:terminate(~p)~n", [_Reason]),
92
92
    ok.
93
93
 
94
94
%%------------------------------------------------------------
98
98
%% Effect   : Functions demanded by the module ic. 
99
99
%%------------------------------------------------------------
100
100
 
101
 
code_change(OldVsn, State, Extra) ->
 
101
code_change(_OldVsn, State, _Extra) ->
102
102
    {ok, State}.
103
103
 
104
104
handle_call(_,_, State) ->
112
112
handle_info({'EXIT',_From,shutdown}, State) ->
113
113
    ?debug_print("Factory:handle_info(~p)~n", [shutdown]),
114
114
    {stop, shutdown, State};
115
 
handle_info(Info, State) ->
116
 
    ?debug_print("Factory:handle_info(~p)~n", [Info]),
 
115
handle_info(_Info, State) ->
 
116
    ?debug_print("Factory:handle_info(~p)~n", [_Info]),
117
117
    {noreply, State}.
118
118
 
119
119
%%------------------------------------------------------------
127
127
%%            management.
128
128
%%------------------------------------------------------------
129
129
 
130
 
create(Self, State, TimeOut) when integer(TimeOut) ->
 
130
create(_Self, State, TimeOut) when integer(TimeOut) ->
131
131
    %% Generate objectnames.
132
132
    ETraPName    = 'ETraP_Common':create_name("root"),
133
133
    TermName     = 'ETraP_Common':create_name("term"),
156
156
            end
157
157
    end;
158
158
 
159
 
create(Self, State, TimeOut) ->
 
159
create(_Self, _State, _TimeOut) ->
160
160
    ?tr_error_msg("TransactionFactory:create( Integer >= 0 )~nBad argument. Not an integer.~n", []),
161
161
    corba:raise(?tr_badparam).
162
162
 
168
168
%% Effect   : 
169
169
%%------------------------------------------------------------
170
170
 
171
 
recreate(Self, State, #'CosTransactions_PropagationContext'{current = C}) ->
 
171
recreate(_Self, _State, #'CosTransactions_PropagationContext'{current = _C}) ->
172
172
    corba:raise(#'NO_IMPLEMENT'{completion_status=?COMPLETED_YES}).
173
173
%recreate(Self, State, #'CosTransactions_PropagationContext'{current = C}) ->
174
174
%    {reply, C#'CosTransactions_TransIdentity'.coord, State}.