Class SocketConnection
Inheritance
System.Object
SocketConnection
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 SocketConnection : Connection, IComparable, IConnection
Constructors
SocketConnection(ConnectionInfo)
Declaration
public SocketConnection(ConnectionInfo info)
Parameters
Properties
ClientIp
Declaration
[PropertyOrder(101)]
[PropertyAttributesProvider("DynamicPropertyClientIpAddress")]
public string ClientIp { get; }
Property Value
Type |
Description |
System.String |
|
Ip
Declaration
public override string Ip { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
Mode
Declaration
public override string Mode { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
Port
Declaration
public override int Port { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
Socket
Declaration
[Browsable(false)]
public Xcelgo.Communication.TCP Socket { get; protected set; }
Property Value
Type |
Description |
Xcelgo.Communication.TCP |
|
State
Declaration
public override State State { get; }
Property Value
Overrides
Methods
Connect()
Declaration
Create()
Declaration
protected abstract void Create()
Disconnect()
Declaration
public override void Disconnect()
Overrides
Dispose(Boolean)
Declaration
public override bool Dispose(bool force)
Parameters
Type |
Name |
Description |
System.Boolean |
force |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
EstablishConnection()
Declaration
public override void EstablishConnection()
Overrides
Send(Byte[])
Declaration
public override void Send(byte[] data)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
Overrides
Send(Byte[], String)
Declaration
public virtual bool Send(byte[] data, string converted)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
System.String |
converted |
|
Returns
Type |
Description |
System.Boolean |
|
TruncateLog()
Declaration
public override void TruncateLog()
Overrides
Implements
System.IComparable