JGSL_agentstream
compressed agent stream to be sent via network
Title |
compressed agent stream to be sent via network |
Author(s) |
LiXizhi |
Date |
2008/12/28 |
File |
script/kids/3DMapSystemNetwork/JGSL_agentstream.lua |
Description
serialization of agent to/from compact data stream
Sample Code
NPL.load("(gl)script/kids/3DMapSystemNetwork/JGSL.lua");
Member Functions
JGSL.AgentStreamWriter.Serialize
serialize agent structure to stream
syntax
function JGSL.AgentStreamWriter.Serialize(agent)
parameters
JGSL.AgentStreamReader.Deserialize
deserialize a stream data structure to stream
syntax
function JGSL.AgentStreamReader.Deserialize(stream)
parameters
agentstream:new
create object if user does not provide one
syntax
function agentstream:new()
Topic revision: r1 - 2008-02-29
- LiXizhi