C# 클래스 TSystems.RELOAD.Usage.DisCoRegistration

This class implements the RELOAD Usage for Distributed Conferencing (DisCo)
상속: IUsage
파일 보기 프로젝트 열기: RELOAD-NET/RELOAD.NET 1 사용 예제들

공개 메소드들

메소드 설명
AppProcedure ( MessageTransport transport, List kindRes ) : void
Create ( int type ) : IUsage

Creates new instances of DisCoRegistration

DataModel ( ) : ReloadGlobals.DataModel
DisCoRegistration ( UsageManager manager ) : System

This contructor should be taken if you want to create a DisCoRegistration from wire.

DisCoRegistration ( string resName, string coordinate, NodeId nodeId, UsageManager manager ) : System

This constructor instanciates a DisCoRegistration containing the Destination List towards the focus and its coordinate value.

Encapsulate ( System.Boolean exists ) : StoredDataValue
Equals ( object obj ) : bool

Compares if two DisCoRegistration are equal.

FromReader ( ReloadMessage rm, BinaryReader reader, long usage_size ) : IUsage

Deserializes a DisCoRegistration from byte stream.

Report ( ) : string
dump ( BinaryWriter writer ) : UInt32

Serialzes a DisCoRegistration to wire.

메소드 상세

AppProcedure() 공개 메소드

public AppProcedure ( MessageTransport transport, List kindRes ) : void
transport TSystems.RELOAD.Transport.MessageTransport
kindRes List
리턴 void

Create() 공개 메소드

Creates new instances of DisCoRegistration
public Create ( int type ) : IUsage
type int Not used, set it -1 for example
리턴 IUsage

DataModel() 공개 메소드

public DataModel ( ) : ReloadGlobals.DataModel
리턴 ReloadGlobals.DataModel

DisCoRegistration() 공개 메소드

This contructor should be taken if you want to create a DisCoRegistration from wire.
public DisCoRegistration ( UsageManager manager ) : System
manager UsageManager
리턴 System

DisCoRegistration() 공개 메소드

This constructor instanciates a DisCoRegistration containing the Destination List towards the focus and its coordinate value.
public DisCoRegistration ( string resName, string coordinate, NodeId nodeId, UsageManager manager ) : System
resName string
coordinate string The focus' relative position in the network.
nodeId TSystems.RELOAD.Utils.NodeId
manager UsageManager
리턴 System

Encapsulate() 공개 메소드

public Encapsulate ( System.Boolean exists ) : StoredDataValue
exists System.Boolean
리턴 TSystems.RELOAD.Storage.StoredDataValue

Equals() 공개 메소드

Compares if two DisCoRegistration are equal.
public Equals ( object obj ) : bool
obj object DisCoRegistration to compare.
리턴 bool

FromReader() 공개 메소드

Deserializes a DisCoRegistration from byte stream.
public FromReader ( ReloadMessage rm, BinaryReader reader, long usage_size ) : IUsage
rm TSystems.RELOAD.Transport.ReloadMessage Not used.
reader System.IO.BinaryReader /// The binary reader containing the entire RELOAD message
usage_size long Not used. DisCoReg has fixed length
리턴 IUsage

Report() 공개 메소드

public Report ( ) : string
리턴 string

dump() 공개 메소드

Serialzes a DisCoRegistration to wire.
public dump ( BinaryWriter writer ) : UInt32
writer System.IO.BinaryWriter A BinaryWriter containing the entire byte /// stream
리턴 System.UInt32