C# Class System.IO.BACnet.BacnetPipeTransport

Inheritance: IBacnetSerialTransport
显示文件 Open project: temcocontrols/T3000_Building_Automation_System

Private Properties

Property Type Description
Disconnect void
FindClose bool
FindFirstFile System.IntPtr
FindNextFile int
PeekNamedPipe bool
WaitForConnection bool

Public Methods

Method Description
BacnetPipeTransport ( string name, bool is_server = false ) : System
Close ( ) : void
Dispose ( ) : void
Equals ( object obj ) : bool
GetHashCode ( ) : int
Open ( ) : void
PeekPipe ( ) : int
Read ( byte buffer, int offset, int length, int timeout_ms ) : int
ToString ( ) : string
Write ( byte buffer, int offset, int length ) : void

Private Methods

Method Description
Disconnect ( ) : void
FindClose ( IntPtr hFindFile ) : bool
FindFirstFile ( string lpFileName, WIN32_FIND_DATA &lpFindFileData ) : IntPtr
FindNextFile ( IntPtr hFindFile, WIN32_FIND_DATA &lpFindFileData ) : int
PeekNamedPipe ( IntPtr handle, IntPtr buffer, uint nBufferSize, IntPtr bytesRead, uint &bytesAvail, IntPtr BytesLeftThisMessage ) : bool
WaitForConnection ( int timeout_ms ) : bool

Method Details

BacnetPipeTransport() public method

public BacnetPipeTransport ( string name, bool is_server = false ) : System
name string
is_server bool
return System

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Open() public method

public Open ( ) : void
return void

PeekPipe() public method

public PeekPipe ( ) : int
return int

Read() public method

public Read ( byte buffer, int offset, int length, int timeout_ms ) : int
buffer byte
offset int
length int
timeout_ms int
return int

ToString() public method

public ToString ( ) : string
return string

Write() public method

public Write ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
return void