IPipelineConnector<TContext> ​
Interface for a connector that sends and receives SimpleJSON messages to and from a game.
Kind: Interface
Namespace: ConnectorLib.SimplePipeline
Inheritance: IDisposable → IGameConnector → IPipelineConnector
Public Member Functions
abstract virtual
bool
SendString(string message, TContext context)
Sends a string message to the game.
abstract virtual
bool
Send(SimpleJSONRequest request)
Sends a JSON message to the game.
abstract virtual
bool
Send(SimpleJSONRequest request, TContext context)
Sends a JSON message to the game.
virtual
bool
SendJSON(SimpleJSONRequest request, TContext context)
abstract virtual
void
CloseContext(object context)
Closes the connection to the game.
Properties
Func
SuppressRequest
[get, ]
Function to prevent certain requests from being sent to the game.
Func
CustomFieldSetter
[get, set]
Function to set custom fields in messages.
Events
IPipelineConnector<TContext>.ParsedMessageHandler<TContext>
MessageParsed
Called when a message is parsed.
Action<string>
ConnectionError
Called when a connection error occurs.
