C# Class Neovim.MsgPackIO

Afficher le fichier Open project: Pireax/neovim.cs Class Usage Examples

Méthodes publiques

Méthode Description
MsgPackIO ( string filename, string args ) : System
Request ( int type, string method, object parameters, bool returnValue = true ) : MessagePackObject[]

This function makes a RPC call to the process and returns the reply

RequestAsync ( int type, string method, object parameters, bool returnValue = true ) : Task

Makes an async request

StartReadingOutput ( ) : void

Start reading asynchronously from the output and error streams

Méthodes protégées

Méthode Description
GetStartInfo ( string filename, string args ) : ProcessStartInfo
InitializeProcess ( string filename, string args ) : void
OnNotificationReceived ( MsgPackNotificationEventArgs e ) : void

Private Methods

Méthode Description
AttachStreams ( ) : void
ErrorCallback ( IAsyncResult ar ) : void

Callback for the error stream

OutputCallback ( IAsyncResult ar ) : void

Gets executed if BeginRead() has red some data

PrepareAsyncState ( ) : void
_process_Exited ( object sender, EventArgs e ) : void

Method Details

GetStartInfo() protected méthode

protected GetStartInfo ( string filename, string args ) : ProcessStartInfo
filename string
args string
Résultat System.Diagnostics.ProcessStartInfo

InitializeProcess() protected méthode

protected InitializeProcess ( string filename, string args ) : void
filename string
args string
Résultat void

MsgPackIO() public méthode

public MsgPackIO ( string filename, string args ) : System
filename string
args string
Résultat System

OnNotificationReceived() protected méthode

protected OnNotificationReceived ( MsgPackNotificationEventArgs e ) : void
e MsgPackNotificationEventArgs
Résultat void

Request() public méthode

This function makes a RPC call to the process and returns the reply
public Request ( int type, string method, object parameters, bool returnValue = true ) : MessagePackObject[]
type int Type of request
method string Method name
parameters object Method parameters
returnValue bool Does it return?
Résultat MessagePackObject[]

RequestAsync() public méthode

Makes an async request
public RequestAsync ( int type, string method, object parameters, bool returnValue = true ) : Task
type int Type of request
method string Method name
parameters object Method parameters
returnValue bool Does it return?
Résultat Task

StartReadingOutput() public méthode

Start reading asynchronously from the output and error streams
public StartReadingOutput ( ) : void
Résultat void