C# Class Fusion.Engine.Common.AtomCollection

Represents distributed/remote atoms colleciton.
显示文件 Open project: demiurghg/FusionEngine Class Usage Examples

Public Methods

Method Description
Add ( string atom ) : short

AtomCollection ( ) : System

Creates instance of AtomCollection.

Clear ( ) : void

this ( string atom ) : short

this ( short id ) : string

Private Methods

Method Description
AtomCollection ( BinaryReader reader ) : System

AtomCollection ( NetIncomingMessage message ) : System

Lock ( ) : void

Locks table.

Read ( BinaryReader reader ) : void

Reads collection using binary reader.

Read ( NetIncomingMessage message ) : void

Read table from incoming message.

Write ( BinaryWriter writer ) : void

Writes collection using binary writer.

Write ( NetOutgoingMessage message ) : void

Writes table to outgoing message

Method Details

Add() public method

public Add ( string atom ) : short
atom string
return short

AtomCollection() public method

Creates instance of AtomCollection.
public AtomCollection ( ) : System
return System

Clear() public method

public Clear ( ) : void
return void

this() public method

public this ( string atom ) : short
atom string
return short

this() public method

public this ( short id ) : string
id short
return string