This class implements generic TCP server session.
| C# | Visual Basic | Visual C++ | F# |
public class TCP_ServerSession : TCP_Session
Public Class TCP_ServerSession Inherits TCP_Session
public ref class TCP_ServerSession : public TCP_Session
type TCP_ServerSession = class inherit TCP_Session end
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| TCP_ServerSession()()()() |
Default constructor.
| |
| AuthenticatedUserIdentity |
Gets session authenticated user identity , returns null if not authenticated.
(Inherited from TCP_Session.) | |
| Certificate |
Gets session certificate.
| |
| ConnectTime |
Gets the time when session was connected.
(Overrides TCP_Session.ConnectTime.) | |
| Disconnect()()()() |
Disconnects session.
(Overrides TCP_Session.Disconnect()()()().) | |
| Disconnect(String) |
Disconnects session.
| |
| Disonnected |
This event is raised when session has disconnected and will be disposed soon.
| |
| Dispose()()()() |
Cleans up any resources being used.
(Overrides TCP_Session.Dispose()()()().) | |
| Disposed |
This event is raised when session has disposed.
| |
| Equals(Object) | (Inherited from Object.) | |
| Error |
This event is raised when TCP server session has unknown unhandled error.
| |
| 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.
(Overrides TCP_Session.ID.) | |
| IdleTimeout |
This event is raised when session idle(no activity) timeout reached.
| |
| IsAuthenticated |
Gets if this session is authenticated.
(Inherited from TCP_Session.) | |
| IsConnected |
Gets if session is connected.
(Overrides TCP_Session.IsConnected.) | |
| IsDisposed |
Gets if TCP server session is disposed.
| |
| IsSecureConnection |
Gets if this session TCP connection is secure connection.
(Overrides TCP_Session.IsSecureConnection.) | |
| LastActivity |
Gets the last time when data was sent or received.
(Overrides TCP_Session.LastActivity.) | |
| LocalEndPoint |
Gets session local IP end point.
(Overrides TCP_Session.LocalEndPoint.) | |
| LocalHostName |
Gets local host name.
| |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnError(Exception) |
Raises Error event.
| |
| OnTimeout()()()() |
This method is called when specified session times out.
| |
| RemoteEndPoint |
Gets session remote IP end point.
(Overrides TCP_Session.RemoteEndPoint.) | |
| Server |
Gets owner TCP server.
| |
| Start()()()() |
This method is called from TCP server when session should start processing incoming connection.
| |
| SwitchToSecure()()()() |
Switches session to secure connection.
| |
| SwitchToSecureAsync(TCP_ServerSession..::..SwitchToSecureAsyncOP) |
Starts switching connection to secure.
| |
| Tag |
Gets or sets user data.
| |
| Tags |
Gets user data items collection.
| |
| TcpStream |
Gets TCP stream which must be used to send/receive data through this session.
(Overrides TCP_Session.TcpStream.) | |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
| Object | |||
| TCP_Session | |||
| TCP_ServerSession | |||
| FTP_Session | |||
| IMAP_Session | |||
| POP3_Session | |||
| SMTP_Session | |||
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119