PipesHost Class
Definition
Host using named pipes
public sealed class PipesHost : VoltRpc.Communication.Host
- Inheritance
Constructors
PipesHost(String, ILogger, Int32) | Creates a new PipesHost instance |
PipesHost(String, Int32) | Creates a new PipesHost instance |
Fields
BufferSize | This size of the buffer (Inherited from Host) |
DefaultBufferSize | The default size of the buffers (Inherited from Host) |
Logger | Logger (Inherited from Host) |
Properties
ConnectionCount | Count of number of connections (Inherited from Host) |
HasDisposed | Has this object been disposed (Inherited from Host) |
HideStacktrace | Hides the stacktrace from the client when an System.Exception is thrown (Inherited from Host) |
IsRunning | Is the Host running? (Inherited from Host) |
MaxConnectionsCount | What is the maximum amount of connections (Inherited from Host) |
TypeReaderWriterManager | The TypeReaderWriterManager for Host (Inherited from Host) |
Methods
AddService(Type, Object) | Adds a service to this Host (Inherited from Host) |
AddService<T>(T) | Adds a service to this Host (Inherited from Host) |
CheckDispose() | Checks if the object has been disposed (Inherited from Host) |
Dispose() | Destroys the Host instance (Inherited from Host) |
ProcessRequest(BufferedReader, BufferedWriter) | Processes a request from a client You should only call this if you need to provide a custom BufferedReader and/or BufferedWriter. For example you are using a System.IO.Stream that needs System.IO.Stream.Position. (Inherited from Host) |
ProcessRequest(Stream, Stream) | Processes a request from a client This override will automatically create the BufferedReader and BufferedWriter for you then call ProcessRequest(BufferedReader, BufferedWriter). This is the preferred process request method to call. (Inherited from Host) |
SetProtocolVersion(Object) | Sets what protocol version to use. Set value to null to reset back to none. (Inherited from Host) |
StartListening() | Starts listening for incoming requests |
StartListeningAsync() | Starts listening for incoming requests (Inherited from Host) |