Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

SerialPortChannel Class

Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.SerialPort.dll (version 7.0.9147)

Provides methods for communication over SerialPort.

Syntax
public class SerialPortChannel : IShellChannelFactory
Inheritance
Object
SerialPortChannel
Implements
IShellChannelFactory
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Constructors

Name Description
SerialPortChannel(SerialPort)

Initialize a new instance of SerialPortChannel based on the specified SerialPort.

SerialPortChannel(String)

Initialize a new instance of SerialPortChannel with specified port name.

SerialPortChannel(String, Int32)

Initialize a new instance of SerialPortChannel with specified port name and baud rate.

SerialPortChannel(String, Int32, Parity, Int32, StopBits)

Initialize a new instance of SerialPortChannel with specified port name, baud rate, parity bit, data bits and stop bits.

Properties

Name Description
LogWriter

Gets or sets the logger used by this object.

Port

Gets the serial port.

Timeout

Gets or sets the length of time in milliseconds before the operation times out (specify -1 or 0 to indicate that the request does not time out).

Methods

Name Description
StartScripting()

Starts a scripting session with a virtual terminal.

StartScripting(TerminalOptions)

Starts a scripting session with a virtual terminal.

StartScripting(TerminalOptions, Int32, Int32)

Starts a scripting session with a virtual terminal.

StartVirtualTerminal()

Starts a virtual terminal session.

StartVirtualTerminal(TerminalOptions)

Starts a virtual terminal session.

StartVirtualTerminal(TerminalOptions, Int32, Int32)

Starts a virtual terminal session.

Operators

Name Description
Implicit(SerialPort to SerialPortChannel)

Converts SerialPort to SerialPortChannel.

Explicit Interface Implementations

Name Description
IShellChannelFactory.CreateShellChannel(TerminalOptions, Int32, Int32)

Creates a new shell channel using the specified options.

In This Article
  • Constructors
  • Properties
  • Methods
  • Operators
  • Explicit Interface Implementations
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies