C# Class MemExchange.ClientApi.Commands.MessageConnection

Inheritance: IMessageConnection
ファイルを表示 Open project: ThomasVestergaard/MemExchange

Public Methods

Method Description
MessageConnection ( ILogger logger, ISerializer serializer ) : System
SendMessage ( ClientToServerMessage message ) : void
Start ( string serverIpAddress, int serverPort ) : void
Stop ( ) : void

Method Details

MessageConnection() public method

public MessageConnection ( ILogger logger, ISerializer serializer ) : System
logger ILogger
serializer ISerializer
return System

SendMessage() public method

public SendMessage ( ClientToServerMessage message ) : void
message MemExchange.Core.SharedDto.ClientToServer.ClientToServerMessage
return void

Start() public method

public Start ( string serverIpAddress, int serverPort ) : void
serverIpAddress string
serverPort int
return void

Stop() public method

public Stop ( ) : void
return void