This is base class for TCP_Client and TCP_ServerSession.
| C# | Visual Basic | Visual C++ | F# |
public abstract class TCP_Session : IDisposable
Public MustInherit Class TCP_Session Implements IDisposable
public ref class TCP_Session abstract : IDisposable
[<AbstractClassAttribute>] type TCP_Session = class interface IDisposable end
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| TCP_Session()()()() |
Default constructor.
| |
| AuthenticatedUserIdentity |
Gets session authenticated user identity , returns null if not authenticated.
| |
| ConnectTime |
Gets the time when session was connected.
| |
| Disconnect()()()() |
Disconnects session.
| |
| Dispose()()()() |
Cleans up any resources being used.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| ID |
Gets session ID.
| |
| IsAuthenticated |
Gets if this session is authenticated.
| |
| IsConnected |
Gets if session is connected.
| |
| IsSecureConnection |
Gets if this session TCP connection is secure connection.
| |
| LastActivity |
Gets the last time when data was sent or received.
| |
| LocalEndPoint |
Gets session local IP end point.
| |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| RemoteEndPoint |
Gets session remote IP end point.
| |
| TcpStream |
Gets TCP stream which must be used to send/receive data through this session.
| |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
| Object | ||
| TCP_Session | ||
| Relay_Session | ||
| TCP_Client | ||
| TCP_ServerSession | ||
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119