[tor-commits] [flashproxy/master] Add an RTMFPSocket.close method.
dcf at torproject.org
dcf at torproject.org
Sun Jun 12 08:56:27 UTC 2011
commit f46a9e3f6844ca996d15bb4434c18ac127ac0a71
Author: David Fifield <david at bamsoftware.com>
Date: Tue May 24 15:58:16 2011 -0700
Add an RTMFPSocket.close method.
---
com/rtmfpcat/rtmfp/RTMFPSocket.as | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/com/rtmfpcat/rtmfp/RTMFPSocket.as b/com/rtmfpcat/rtmfp/RTMFPSocket.as
index 6c61781..bb00994 100644
--- a/com/rtmfpcat/rtmfp/RTMFPSocket.as
+++ b/com/rtmfpcat/rtmfp/RTMFPSocket.as
@@ -67,6 +67,11 @@ package rtmfp
connectionTimeout = setInterval(fail, DEFAULT_CONNECT_TIMEOUT);
}
+ public function close():void
+ {
+ connection.close();
+ }
+
public function get id():String
{
if (connection != null && connection.connected) {
More information about the tor-commits
mailing list