Datasnap.DSSession.TDSTCPSession Methods
InheritedProtected
AfterConstruction | public | Responds after the last constructor has executed. |
Assign | public | Copies the contents of another similar object. |
AssignTo | protected | Copies the properties of an object to a destination object. |
Authenticate | public | Represents an extension of Authenticate to wrap the TCP authentication manager call. |
Authorize | public | Checks that the user of the current session has authorization for the given event. |
BeforeDestruction | public | Responds before the first destructor executes. |
CancelScheduledEvent | public | Cancels the last scheduled event. |
CheckDisposed | protected | This method is deprecated. |
CheckTransient | protected | Raises an exception if the session corresponds to a transient session. |
ClassInfo | public | Returns a pointer to the run-time type information (RTTI) table for the object type. |
ClassName | public | Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). |
ClassNameIs | public | Determines whether an object is of a specific type. |
ClassParent | public | Returns the type of the immediate ancestor of a class. |
ClassType | public | Returns the class reference for the object's class. |
CleanupInstance | public | Performs finalization on long strings, variants, and interface variables within a class. |
Close | public | Closes the communication channel. |
Create | public | Creates an instance of a TCP session. |
DefaultHandler | public | Provides the interface for a method that processes message records. |
DefineProperties | protected | Provides an interface for a method that reads and writes otherwise unpublished data. |
Destroy | public | |
Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
DisposeOf | public | DisposeOf forces the execution of the destructor code in an object. |
ElapsedSinceLastActvity | public | Returns the time elapsed since the last activity, in milliseconds. |
Equals | public | Checks whether the current instance and the Obj parameter are equal. |
ExpiresIn | public | Returns the number of milliseconds remaining before the session expires. |
FieldAddress | public | Returns the address of a published object field. |
Free | public | Destroys an object and frees its associated memory, if necessary. |
FreeInstance | public | Deallocates memory allocated by a previous call to the NewInstance method. |
GenerateSessionId | public | Generates a unique session ID. |
GetAuthRoleInternal | protected | Returns authorized and denied roles for a given server method, and caches the result. |
GetAuthRoles | public | Gets authorized and denied roles associated with the given server method. |
GetData | public | Retrieves a value string stored in this session for the given key. |
GetDisposed | protected | Getter for the Disposed property. |
GetHashCode | public | Returns an integer containing the hash code. |
GetId | protected | Returns the current session's ID. |
GetInterface | public | Retrieves a specified interface. |
GetInterfaceEntry | public | Returns the entry for a specific interface implemented in a class. |
GetInterfaceTable | public | Returns a pointer to a structure containing all of the interfaces implemented by a given class. |
GetNamePath | public | Returns the name of the object as it appears in the Object Inspector. |
GetObject | public | Retrieves an object stored in this session, for the given Key . |
GetOwner | protected | Returns the owner of an object. |
GetSessionStatus | protected | Returns the session status. |
HasData | public | Returns whether the session holds data for the given key. |
HasObject | public | Returns whether the session holds an object for the given Key . |
InheritsFrom | public | Determines the relationship of two object types. |
InitInstance | public | Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. |
InstanceSize | public | Returns the size in bytes of each instance of the object type. |
IsIdle | protected | Specifies whether the session is idle. |
IsIdleMS | protected | Returns whether the session did not have any activity for the number of specified milliseconds. |
IsValid | public | Returns True if the status is Active , Connected , or Idle . |
MarkActivity | public | Marks the current session as active. |
MethodAddress | public | Returns the address of a class method by name. |
MethodName | public | Returns the name of a class method by address. |
NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
PutData | public | Stores a value string in this session, with the given key. |
PutObject | public | Stores an object in this session with the given Key . |
QualifiedClassName | public | Returns the qualified name of the class. |
RemoveData | public | Removes a value string from this session that matches the given key. |
RemoveObject | public | Removes an object that matches the given Key from this session. |
RequiresAuthorization | public | Returns whether the given method requires authorization. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
ScheduleInactiveTerminationEvent | public | Schedules a session termination event if the session is inactive. |
ScheduleTerminationEvent | public | Schedules a session termination event at a specified moment. |
ScheduleUserEvent | public | Schedules an event to be run at a specified moment. |
Terminate | public | Terminates the session. |
TerminateInactiveSession | protected | Terminates the session if it is inactive. |
TerminateSession | protected | Terminates the current session. |
ToString | public | Returns a string containing the class name. |
UnitName | public | Returns the name of the unit where the class is defined. |
UnitScope | public | Returns the class's unit scope. |