summaryrefslogtreecommitdiff
path: root/flash-src/third-party/com/hurlant/crypto/tls/SSLEvent.as
diff options
context:
space:
mode:
authorHiroshi Ichikawa <gimite@gmail.com>2011-08-28 22:14:15 +0900
committerHiroshi Ichikawa <gimite@gmail.com>2011-08-28 22:14:15 +0900
commit80c91d84bc3e84f684f53172e8eb7cad81795fb1 (patch)
tree70d3a71d8020902ed246fc7b908ebf9c3478f653 /flash-src/third-party/com/hurlant/crypto/tls/SSLEvent.as
parented0622a890de811eb6d766d5c5a9a62d726f0593 (diff)
downloadweb-socket-js-80c91d84bc3e84f684f53172e8eb7cad81795fb1.tar.gz
Moving our own .as files into flash-src/src and third-party .as files into flash-src/third-party.
Adding build rule for WebSocketWithoutDependencies.swc.
Diffstat (limited to 'flash-src/third-party/com/hurlant/crypto/tls/SSLEvent.as')
-rwxr-xr-xflash-src/third-party/com/hurlant/crypto/tls/SSLEvent.as26
1 files changed, 26 insertions, 0 deletions
diff --git a/flash-src/third-party/com/hurlant/crypto/tls/SSLEvent.as b/flash-src/third-party/com/hurlant/crypto/tls/SSLEvent.as
new file mode 100755
index 0000000..9a63521
--- /dev/null
+++ b/flash-src/third-party/com/hurlant/crypto/tls/SSLEvent.as
@@ -0,0 +1,26 @@
+/**
+ * SSLEvent
+ *
+ * This is used by TLSEngine to let the application layer know
+ * when we're ready for sending, or have received application data
+ * This Event was created by Bobby Parker to support SSL 3.0.
+ *
+ * See LICENSE.txt for full license information.
+ */
+package com.hurlant.crypto.tls {
+ import flash.events.Event;
+ import flash.utils.ByteArray;
+
+ public class SSLEvent extends Event {
+
+ static public const DATA:String = "data";
+ static public const READY:String = "ready";
+
+ public var data:ByteArray;
+
+ public function SSLEvent(type:String, data:ByteArray = null) {
+ this.data = data;
+ super(type, false, false);
+ }
+ }
+} \ No newline at end of file