Mercury API
SerialTransportTCP Class
NamespacesThingMagicSerialTransportTCP
Serial transport TCP framework calls
Declaration Syntax
C#Visual BasicVisual C++
public class SerialTransportTCP : SerialTransport
Public Class SerialTransportTCP _
	Inherits SerialTransport
public ref class SerialTransportTCP : public SerialTransport
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
SerialTransportTCP()()()
Constructor Initialize native serial Tcp port

Baudrate
Tcp port,Baudrate

BaudRate
Set/Get TCP baudrate
(Overrides SerialTransport.BaudRate.)
CreateSerialReader(String)
Serial Reader factory function

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Flush()()()
Discards data from the serverstream
(Overrides SerialTransport.Flush()()().)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
hostName
host name,readerUri

IsOpen
Gets a value indicating the open or closed status of the TCP Port object.
(Overrides SerialTransport.IsOpen.)
MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Open()()()
Opens a TCP connection.
(Overrides SerialTransport.Open()()().)
port
Tcp port,Baudrate

PortName
Set/Get the port for communications, including but not limited to all available TCP ports.
(Overrides SerialTransport.PortName.)
readerUri
host name,readerUri

ReadTimeout
Gets or sets the number of milliseconds before a time-out occurs when a read operation does not finish.
(Overrides SerialTransport.ReadTimeout.)
ReceiveBytes(Int32, array<Byte>[]()[], Int32)
Reads a number of bytes from the Tcp SerialPort input buffer and writes those bytes into a byte array at the specified offset.
(Overrides SerialTransport.ReceiveBytes(Int32, array<Byte>[]()[], Int32).)
SendBytes(Int32, array<Byte>[]()[], Int32)
Writes a specified number of bytes to the tcp serial port using data from a buffer.
(Overrides SerialTransport.SendBytes(Int32, array<Byte>[]()[], Int32).)
Shutdown()()()
Closes the port connection,
(Overrides SerialTransport.Shutdown()()().)
ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
WriteTimeout
Gets or sets the number of milliseconds before a time-out occurs when a write operation does not finish.
(Overrides SerialTransport.WriteTimeout.)
Inheritance Hierarchy
Object
SerialTransport
 SerialTransportTCP

Assembly: MercuryAPI (Module: MercuryAPI) Version: 1.29.4.34 (1.29.4.34)