/js/lib/Socket.IO-node/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/TLSEvent.as
ActionScript | 27 lines | 14 code | 4 blank | 9 comment | 0 complexity | db12b8e059d999cf88e593f93ca34c4a MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
- /**
- * TLSEvent
- *
- * This is used by TLSEngine to let the application layer know
- * when we're ready for sending, or have received application data
- * Copyright (c) 2007 Henri Torgemane
- *
- * See LICENSE.txt for full license information.
- */
- package com.hurlant.crypto.tls {
- import flash.events.Event;
- import flash.utils.ByteArray;
-
- public class TLSEvent extends Event {
-
- static public const DATA:String = "data";
- static public const READY:String = "ready";
- static public const PROMPT_ACCEPT_CERT:String = "promptAcceptCert";
-
- public var data:ByteArray;
-
- public function TLSEvent(type:String, data:ByteArray = null) {
- this.data = data;
- super(type, false, false);
- }
- }
- }