Packagecom.electrotank.electroserver4.entities
Classpublic class Protocol

ElectroServer supports several different protocols. Normal ElectroServer communication can occur with text or binary protocols. ElectroServer also supports RTMP for streaming audio and video. When setting the protocol to use with ElectroServer this class is used. RTMP is not handled through this class, that is a special case and is built-in to the Flash player.



Public Properties
 PropertyDefined by
  BINARY : String = "binary"
[static]
Protocol
  TEXT : String = "text"
[static]
Protocol
Public Methods
 MethodDefined by
  
Protocol
  
getProtocolId():Number
Protocol
  
setProtocolId(protocolId:Number):void
Protocol
Property detail
BINARYproperty
public static var BINARY:String = "binary"
TEXTproperty 
public static var TEXT:String = "text"
Constructor detail
Protocol()constructor
public function Protocol()
Method detail
getProtocolId()method
public function getProtocolId():Number

Returns
Number
setProtocolId()method 
public function setProtocolId(protocolId:Number):voidParameters
protocolId:Number