C# Class Platform.Examples.MasterServer

显示文件 Open project: Konard/LinksPlatform

Public Methods

Method Description
Create ( string message ) : void
IsSearch ( string message ) : bool
MasterServer ( ILinks links, Platform.Data.Core.Sequences.Sequences sequences, UdpSender sender ) : System
PrintContents ( Action messageHandler ) : void
Search ( string message ) : void

Private Methods

Method Description
AppendLinkToString ( StringBuilder sb, ulong link ) : void
Create ( ulong sequence ) : void
IsEscape ( char c ) : bool
ProcessSequence ( string sequence, bool forSearch = false ) : ulong[]
Search ( ulong sequence ) : void

Method Details

Create() public method

public Create ( string message ) : void
message string
return void

IsSearch() public method

public IsSearch ( string message ) : bool
message string
return bool

MasterServer() public method

public MasterServer ( ILinks links, Platform.Data.Core.Sequences.Sequences sequences, UdpSender sender ) : System
links ILinks
sequences Platform.Data.Core.Sequences.Sequences
sender Platform.Communication.Protocol.Udp.UdpSender
return System

PrintContents() public method

public PrintContents ( Action messageHandler ) : void
messageHandler Action
return void

Search() public method

public Search ( string message ) : void
message string
return void