Class Connection
Inheritance
System.Object
Connection
Implements
System.IComparable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Experior.Core.dll
Syntax
[TypeConverter(typeof(ObjectConverter))]
public abstract class Connection : Connection, IComparable, IConnection
Constructors
Connection(ConnectionInfo)
Declaration
public Connection(ConnectionInfo info)
Parameters
Fields
SYNCHRONIZED
Declaration
[Obsolete]
public static bool SYNCHRONIZED
Field Value
Type |
Description |
System.Boolean |
|
Properties
Ip
Declaration
[PropertyOrder(2)]
[PropertyAttributesProvider("DynamicPropertyIpAddress")]
public virtual string Ip { get; set; }
Property Value
Type |
Description |
System.String |
|
Mode
Declaration
[PropertyOrder(3)]
[PropertyAttributesProvider("DynamicPropertyConnected")]
[TypeConverter(typeof(Connection.ServerClientConverter))]
public virtual string Mode { get; set; }
Property Value
Type |
Description |
System.String |
|
Port
Declaration
[PropertyOrder(1)]
[PropertyAttributesProvider("DynamicPropertyConnected")]
public virtual int Port { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Server
Declaration
[Browsable(false)]
public bool Server { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
DataReceived(Byte[])
Declaration
public override void DataReceived(byte[] data)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
Overrides
DataReceivedInvoked(Byte[])
Declaration
public virtual void DataReceivedInvoked(byte[] data)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
Reset()
Declaration
public override void Reset()
Overrides
Send(String)
Declaration
public void Send(string telegram)
Parameters
Type |
Name |
Description |
System.String |
telegram |
|
Declaration
public override void ShowContextMenu(List<Environment.UI.Toolbar.BarItem> menuitems)
Parameters
Overrides
Events
OnTelegramReceived
Declaration
public event Connection.TelegramReceivedEvent OnTelegramReceived
Event Type
Implements
System.IComparable