Connection Methods |
The Connection type exposes the following members.
Name | Description | |
---|---|---|
![]() | Connect |
Connect to the ED Device
|
![]() ![]() ![]() | Create |
Supply a connection IP address or com port and the correct IConnection concrete class will be created and returned
![]()
IConnection c1 = Connection.Create("192.168.0.5"); // returns a TCPConnection class
IConnection c2 = Connection.Create("COM6", 9600); //returns a SerialConnection class with the baud rate set to 9600
|
![]() | Disconnect |
Disconnect from the ED Device
|
![]() | Dispose |
Dispose of this Brainboxes device
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString |
ToString
(Overrides ObjectToString.) |