aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/transport/diameter_etcp.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2012-08-27 10:26:08 +0200
committerAnders Svensson <[email protected]>2012-08-27 14:35:09 +0200
commita907e66c93e54ffd9b4c8c84f500cd267a28ddd8 (patch)
tree930fb3d5480dff910db8d82decbf1f9ee95acef3 /lib/diameter/src/transport/diameter_etcp.erl
parenta918d79217b65a638ff5f5e4bf88e0a18af3c691 (diff)
downloadotp-a907e66c93e54ffd9b4c8c84f500cd267a28ddd8.tar.gz
otp-a907e66c93e54ffd9b4c8c84f500cd267a28ddd8.tar.bz2
otp-a907e66c93e54ffd9b4c8c84f500cd267a28ddd8.zip
Maintain service_info callback data in process dictionary
To be used by diameter_service in constructing service_info.
Diffstat (limited to 'lib/diameter/src/transport/diameter_etcp.erl')
-rw-r--r--lib/diameter/src/transport/diameter_etcp.erl22
1 files changed, 17 insertions, 5 deletions
diff --git a/lib/diameter/src/transport/diameter_etcp.erl b/lib/diameter/src/transport/diameter_etcp.erl
index d925d62545..cd62cf34fa 100644
--- a/lib/diameter/src/transport/diameter_etcp.erl
+++ b/lib/diameter/src/transport/diameter_etcp.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2011. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2012. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -36,7 +36,9 @@
send/2,
close/1,
setopts/2,
- port/1]).
+ sockname/1,
+ peername/1,
+ getstat/1]).
%% child start
-export([start_link/1]).
@@ -113,10 +115,20 @@ close(Pid) ->
setopts(_, _) ->
ok.
-%% port/1
+%% sockname/1
-port(_) ->
- 3868. %% We have no local port: fake it.
+sockname(_) ->
+ {error, ?MODULE}.
+
+%% peername/1
+
+peername(_) ->
+ {error, ?MODULE}.
+
+%% getstat/1
+
+getstat(_) ->
+ {error, ?MODULE}.
%% start_link/1