Click or drag to resize

DefaultContext Class

Default implementation of a IServerContext.
Inheritance Hierarchy
SystemObject
  OBCOM.NetSwitchLib.ServersDefaultContext

Namespace:  OBCOM.NetSwitchLib.Servers
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public class DefaultContext : IServerContext

The DefaultContext type exposes the following members.

Constructors
  NameDescription
Public methodDefaultContext
Constructs a new DefaultContext instance.
Top
Properties
  NameDescription
Public propertyProcessID
Gets the unique process identification of the server channel.
Top
Methods
  NameDescription
Public methodAddDelayedEvent
Adds a delayed event to this queue of delayed events.
Public methodAddPendingReply
Adds the supplied pending reply to a synchronized shared table that is accessible to all threads controlled by the server context of this channel.
Public methodDecodePassword
Decodes an encoded password using supplied arguments.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetProperties
Returns a read-only dictionary with all the properties of this context.
Public methodGetProperty
Gets the value of a property indexed by the specified name.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveDelayedEvent
Removes a delayed event from this queue of delayed events.
Public methodRemovePendingReply
Removes and returns the pending reply indexed by given key. The returned pending reply is removed from a synchronized shared table that is accessible to all threads controlled by this context.
Public methodRunAsyncTask
Executes the given task asynchronously in a separate thread.
Public methodSendMail
Sends a mail message using the specified SMTP mail session.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also