C# Class Brod.Brokers.RequestHandlers

Afficher le fichier Open project: paralect/brod Class Usage Examples

Méthodes publiques

Méthode Description
HandleAppendMessages ( BinaryStream buffer ) : Response
HandleBrokerInfo ( BinaryStream stream ) : Response
HandleLoadMessages ( BinaryStream buffer ) : Response
HandleMultiFetch ( BinaryStream buffer ) : Response
MapHandlers ( RequestType requestType, BinaryStream buffer ) : Response>.Func

Map request to the handler function of the following signature: Response SomeHandler(BinaryStream)

RequestHandlers ( BrokerConfiguration configuration, Store storage ) : System

Method Details

HandleAppendMessages() public méthode

public HandleAppendMessages ( BinaryStream buffer ) : Response
buffer Brod.Common.BinaryStream
Résultat Brod.Contracts.Responses.Response

HandleBrokerInfo() public méthode

public HandleBrokerInfo ( BinaryStream stream ) : Response
stream Brod.Common.BinaryStream
Résultat Brod.Contracts.Responses.Response

HandleLoadMessages() public méthode

public HandleLoadMessages ( BinaryStream buffer ) : Response
buffer Brod.Common.BinaryStream
Résultat Brod.Contracts.Responses.Response

HandleMultiFetch() public méthode

public HandleMultiFetch ( BinaryStream buffer ) : Response
buffer Brod.Common.BinaryStream
Résultat Brod.Contracts.Responses.Response

MapHandlers() public méthode

Map request to the handler function of the following signature: Response SomeHandler(BinaryStream)
public MapHandlers ( RequestType requestType, BinaryStream buffer ) : Response>.Func
requestType RequestType
buffer Brod.Common.BinaryStream
Résultat Response>.Func

RequestHandlers() public méthode

public RequestHandlers ( BrokerConfiguration configuration, Store storage ) : System
configuration BrokerConfiguration
storage Brod.Storage.Store
Résultat System