C# Класс Chimney.MPD.ChimneyMPDServer

Наследование: ChimneyMPDBase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
ResponsConfigDictionary ResponseConfig>.Dictionary

Открытые методы

Метод Описание
AppendResponse ( string response, int id ) : bool
AppendResponse ( string response, int id, int position ) : bool
ErrorResponse ( string response, int id, int position ) : bool
EventResponse ( string response, int id, int position ) : bool
Start ( string port, string allow = "localhost", string password = "" ) : Task

Приватные методы

Метод Описание
GetIpList ( HostName>.Tuple seip ) : List
GetMyIP ( ) : HostName
GetStartEndIP ( ) : HostName>.Tuple
ParseResponse ( StreamSocket streamSocket, string response, int responseId ) : bool
ReadResponse ( StreamSocket streamSocket, int responseId ) : System.Threading.Tasks.Task
SendResponse ( int id, bool emptyresponse = false ) : Task
SendResponse ( string response, StreamSocket socket ) : Task
SplitCommandArgs ( string command ) : List>.Tuple
streamSocketListner_ConnectionReceived ( StreamSocketListener sender, StreamSocketListenerConnectionReceivedEventArgs args ) : void

Описание методов

AppendResponse() публичный Метод

public AppendResponse ( string response, int id ) : bool
response string
id int
Результат bool

AppendResponse() публичный Метод

public AppendResponse ( string response, int id, int position ) : bool
response string
id int
position int
Результат bool

ErrorResponse() публичный Метод

public ErrorResponse ( string response, int id, int position ) : bool
response string
id int
position int
Результат bool

EventResponse() публичный Метод

public EventResponse ( string response, int id, int position ) : bool
response string
id int
position int
Результат bool

Start() публичный Метод

public Start ( string port, string allow = "localhost", string password = "" ) : Task
port string
allow string
password string
Результат Task

Описание свойств

ResponsConfigDictionary публичное свойство

public Dictionary ResponsConfigDictionary
Результат ResponseConfig>.Dictionary