| Package | asgard.net |
| Class | public class NetServerStatus |
| Implements | Serializable |
Read the online documentation of the NetStatusEvent class to see the different code : NetStatusEvent documentation
| Property | Defined by | ||
|---|---|---|---|
| code : String
The code property.
| NetServerStatus | ||
| level : String
The level property.
| NetServerStatus | ||
| Method | Defined by | ||
|---|---|---|---|
|
NetServerStatus(code:String, level:String)
Creates a new NetServerStatus instance.
| NetServerStatus | ||
|
contains(code:String):Boolean
[static]
Indicates if the specified code expression is register in the NetServerStatus enumeration list.
| NetServerStatus | ||
|
equals(o:*):Boolean
Compares the specified object with this object for equality.
| NetServerStatus | ||
|
get(code:String):NetServerStatus
[static]
Returns the specified code expression register in the NetServerStatus enumeration list.
| NetServerStatus | ||
|
toSource(indent:int = 0):String
Returns the source representation of this object.
| NetServerStatus | ||
|
toString():String
Returns the String representation of the object.
| NetServerStatus | ||
|
validate(o:*):Boolean
[static]
Validate if the specified object is a valid status value.
| NetServerStatus | ||
|
valueOf():*
Returns the primitive value of this object.
| NetServerStatus | ||
| Constant | Defined by | ||
|---|---|---|---|
| CALL_BAD_VERSION : NetServerStatus
[static]
Packet encoded in an unidentified format.
| NetServerStatus | ||
| CALL_FAILED : NetServerStatus
[static]
The NetConnection.call method was not able to invoke the server-side method or command.
| NetServerStatus | ||
| CALL_PROHIBITED : NetServerStatus
[static]
An Action Message Format (AMF) operation is prevented for security reasons.
| NetServerStatus | ||
| CONNECT_CLOSED : NetServerStatus
[static]
The connection was closed successfully.
| NetServerStatus | ||
| CONNECT_FAILED : NetServerStatus
[static]
The connection attempt failed or the NetConnection.call method was not able to invoke the server-side method or command.
| NetServerStatus | ||
| CONNECT_INVALID : NetServerStatus
[static]
The application name specified during connect is invalid.
| NetServerStatus | ||
| CONNECT_REJECTED : NetServerStatus
[static]
The connection attempt did not have permission to access the application.
| NetServerStatus | ||
| CONNECT_SHUTDOWN : NetServerStatus
[static]
The specified application is shutting down.
| NetServerStatus | ||
| CONNECT_SUCCESS : NetServerStatus
[static]
The connection attempt succeeded.
| NetServerStatus | ||
| code | property |
public var code:StringThe code property.
| level | property |
public var level:StringThe level property.
| NetServerStatus | () | constructor |
public function NetServerStatus(code:String, level:String)Creates a new NetServerStatus instance.
Parameterscode:String — The code property.
|
|
level:String |
| contains | () | method |
public static function contains(code:String):BooleanIndicates if the specified code expression is register in the NetServerStatus enumeration list.
Parameterscode:String |
Boolean — true if the specified code expression is register in the NetServerStatus enumeration list.
|
| equals | () | method |
public function equals(o:*):BooleanCompares the specified object with this object for equality.
Parameterso:* |
Boolean — true if the the specified object is equal with this object.
|
| get | () | method |
public static function get(code:String):NetServerStatusReturns the specified code expression register in the NetServerStatus enumeration list.
Parameterscode:String |
NetServerStatus |
| toSource | () | method |
public function toSource(indent:int = 0):StringReturns the source representation of this object.
Parametersindent:int (default = 0) |
String — the source representation of this object.
|
| toString | () | method |
public function toString():StringReturns the String representation of the object.
ReturnsString — the String representation of the object.
|
| validate | () | method |
public static function validate(o:*):BooleanValidate if the specified object is a valid status value.
Parameterso:* |
Boolean — true if the specified object is a valid status value.
|
| valueOf | () | method |
public function valueOf():*Returns the primitive value of this object.
Returns* — the primitive value of this object.
|
| CALL_BAD_VERSION | constant |
public static const CALL_BAD_VERSION:NetServerStatusPacket encoded in an unidentified format.
| CALL_FAILED | constant |
public static const CALL_FAILED:NetServerStatusThe NetConnection.call method was not able to invoke the server-side method or command.
| CALL_PROHIBITED | constant |
public static const CALL_PROHIBITED:NetServerStatusAn Action Message Format (AMF) operation is prevented for security reasons. Either the AMF URL is not in the same domain as the file containing the code calling the NetConnection.call() method, or the AMF server does not have a policy file that trusts the domain of the the file containing the code calling the NetConnection.call() method.
| CONNECT_CLOSED | constant |
public static const CONNECT_CLOSED:NetServerStatusThe connection was closed successfully.
| CONNECT_FAILED | constant |
public static const CONNECT_FAILED:NetServerStatusThe connection attempt failed or the NetConnection.call method was not able to invoke the server-side method or command.
| CONNECT_INVALID | constant |
public static const CONNECT_INVALID:NetServerStatusThe application name specified during connect is invalid.
| CONNECT_REJECTED | constant |
public static const CONNECT_REJECTED:NetServerStatusThe connection attempt did not have permission to access the application.
| CONNECT_SHUTDOWN | constant |
public static const CONNECT_SHUTDOWN:NetServerStatusThe specified application is shutting down.
| CONNECT_SUCCESS | constant |
public static const CONNECT_SUCCESS:NetServerStatusThe connection attempt succeeded.