C# Class MemExchange.Server.Outgoing.MessagePublisher

Inheritance: IMessagePublisher
Mostrar archivo Open project: ThomasVestergaard/MemExchange

Public Methods

Method Description
MessagePublisher ( ILogger logger, ISerializer serializer ) : MemExchange.Core.Logging
OnNext ( ServerToClientMessage data, long sequence, bool endOfBatch ) : void
Publish ( ServerToClientMessage serverToClientMessage ) : void
Publish ( int clientId, ServerToClientMessage serverToClientMessage ) : void
Start ( int publishPort ) : void
Stop ( ) : void

Method Details

MessagePublisher() public method

public MessagePublisher ( ILogger logger, ISerializer serializer ) : MemExchange.Core.Logging
logger ILogger
serializer ISerializer
return MemExchange.Core.Logging

OnNext() public method

public OnNext ( ServerToClientMessage data, long sequence, bool endOfBatch ) : void
data MemExchange.Core.SharedDto.ServerToClient.ServerToClientMessage
sequence long
endOfBatch bool
return void

Publish() public method

public Publish ( ServerToClientMessage serverToClientMessage ) : void
serverToClientMessage MemExchange.Core.SharedDto.ServerToClient.ServerToClientMessage
return void

Publish() public method

public Publish ( int clientId, ServerToClientMessage serverToClientMessage ) : void
clientId int
serverToClientMessage MemExchange.Core.SharedDto.ServerToClient.ServerToClientMessage
return void

Start() public method

public Start ( int publishPort ) : void
publishPort int
return void

Stop() public method

public Stop ( ) : void
return void