PageRenderTime 28ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/js/lib/Socket.IO-node/support/socket.io-client/lib/vendor/web-socket-js/flash-src/com/hurlant/crypto/tls/SSLEvent.as

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
ActionScript | 26 lines | 13 code | 4 blank | 9 comment | 0 complexity | 8d496adccbdc90270e5f6331b2367cea MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  1. /**
  2. * SSLEvent
  3. *
  4. * This is used by TLSEngine to let the application layer know
  5. * when we're ready for sending, or have received application data
  6. * This Event was created by Bobby Parker to support SSL 3.0.
  7. *
  8. * See LICENSE.txt for full license information.
  9. */
  10. package com.hurlant.crypto.tls {
  11. import flash.events.Event;
  12. import flash.utils.ByteArray;
  13. public class SSLEvent extends Event {
  14. static public const DATA:String = "data";
  15. static public const READY:String = "ready";
  16. public var data:ByteArray;
  17. public function SSLEvent(type:String, data:ByteArray = null) {
  18. this.data = data;
  19. super(type, false, false);
  20. }
  21. }
  22. }