Packagecom.kaazing.gateway.client.html5
Classpublic dynamic class CloseEvent
InheritanceCloseEvent Inheritance flash.events.Event

CloseEvent provides an implementation of HTML5 message event.



Public Properties
 PropertyDefined by
  code : int
[read-only]
CloseEvent
  lastEventId : String
[read-only]
CloseEvent
  origin : String
[read-only]
CloseEvent
  reason : String
[read-only]
CloseEvent
  wasClean : Boolean
[read-only]
CloseEvent
Public Methods
 MethodDefined by
  
CloseEvent(type:String, wasClean:Boolean, code:int, reason:String, origin:String = "", lastEventId:String = "")
CloseEvent
  
clone():Event
CloseEvent
Public Constants
 ConstantDefined by
  CLOSE : String = "close"
[static]
CloseEvent
Property detail
codeproperty
code:int  [read-only]Implementation
    public function get code():int
lastEventIdproperty 
lastEventId:String  [read-only]Implementation
    public function get lastEventId():String
originproperty 
origin:String  [read-only]Implementation
    public function get origin():String
reasonproperty 
reason:String  [read-only]Implementation
    public function get reason():String
wasCleanproperty 
wasClean:Boolean  [read-only]Implementation
    public function get wasClean():Boolean
Constructor detail
CloseEvent()constructor
public function CloseEvent(type:String, wasClean:Boolean, code:int, reason:String, origin:String = "", lastEventId:String = "")Parameters
type:String
 
wasClean:Boolean
 
code:int
 
reason:String
 
origin:String (default = "")
 
lastEventId:String (default = "")
Method detail
clone()method
public override function clone():Event

Returns
Event
Constant detail
CLOSEconstant
public static const CLOSE:String = "close"