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

TIP 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

agent  

JGSL.AgentStreamReader.Deserialize

deserialize a stream data structure to stream

syntax

function JGSL.AgentStreamReader.Deserialize(stream)

parameters

stream  

agentstream:new

create object if user does not provide one

syntax

function agentstream:new()
Topic revision: r1 - 2008-02-29 - LiXizhi
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback