~ubuntu-branches/ubuntu/vivid/emscripten/vivid-proposed

« back to all changes in this revision

Viewing changes to third_party/websockify/include/web-socket-js/src/flash-src/third-party/com/hurlant/crypto/tls/TLSEvent.as

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140119141240-nfiw0p8033oitpfz
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * TLSEvent
 
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
 * Copyright (c) 2007 Henri Torgemane
 
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
        
 
14
        public class TLSEvent extends Event {
 
15
                
 
16
                static public const DATA:String = "data";
 
17
                static public const READY:String = "ready";
 
18
                static public const PROMPT_ACCEPT_CERT:String = "promptAcceptCert";
 
19
                
 
20
                public var data:ByteArray;
 
21
                
 
22
                public function TLSEvent(type:String, data:ByteArray = null) {
 
23
                        this.data = data;
 
24
                        super(type, false, false);
 
25
                }
 
26
        }
 
27
}
 
 
b'\\ No newline at end of file'