LumiSoft Net Help
Relay_Session Class
NamespacesLumiSoft.Net.SMTP.RelayRelay_Session
This class implements SMTP relay server session.
Declaration Syntax
C#Visual BasicVisual C++F#
public class Relay_Session : TCP_Session
Public Class Relay_Session
	Inherits TCP_Session
public ref class Relay_Session : public TCP_Session
type Relay_Session =  
    class
        inherit TCP_Session
    end
Members
All MembersMethodsProperties



IconMemberDescription
AuthenticatedUserIdentity
Gets session authenticated user identity, returns null if not authenticated.
(Overrides TCP_Session.AuthenticatedUserIdentity.)
ConnectTime
Gets the time when session was connected.
(Overrides TCP_Session.ConnectTime.)
Disconnect()()()()
Closes relay connection.
(Overrides TCP_Session.Disconnect()()()().)
Disconnect(String)
Closes relay connection.

Dispose()()()()
Completes relay session and does clean up. This method is thread-safe.
(Overrides TCP_Session.Dispose()()()().)
Dispose(Exception)
Completes relay session and does clean up. This method is thread-safe.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExpectedTimeout
Gets how many seconds has left before timout is triggered.

Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
From
Gets from address.

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.)
IsAuthenticated
Gets if this session is authenticated.
(Inherited from TCP_Session.)
IsConnected
Gets if session is connected.
(Overrides TCP_Session.IsConnected.)
IsDisposed
Gets if this object is disposed.

IsSecureConnection
Gets if this session TCP connection is secure connection.
(Inherited from TCP_Session.)
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 for LoaclEP.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MessageID
Gets message ID which is being relayed now.

MessageStream
Gets message what is being relayed now.

Queue
Gets relay queue which session it is.

QueueTag
Gets user data what was procided to Relay_Queue.QueueMessage method.

RemoteEndPoint
Gets session remote IP end point.
(Overrides TCP_Session.RemoteEndPoint.)
RemoteHostName
Gets current remote host name. Returns null if not connected to any target.

SessionCreateTime
Gets time when relay session created.

TcpStream
Gets TCP stream which must be used to send/receive data through this session.
(Overrides TCP_Session.TcpStream.)
To
Gets target recipient.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Inheritance Hierarchy
Object
TCP_Session
 Relay_Session

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119