Datasnap.DSServer.TDSServer Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
_AddRefprotectedCalled when an application uses a component interface.
_ReleaseprotectedCalled when an application releases a component interface.
AddServerComponentpublicAdds the specified server component to the components list.
AfterConstructionpublicResponds after the last constructor has executed.
AssignpublicCopies the contents of another similar object.
AssignToprotectedCopies the properties of an object to a destination object.
AsyncScheduleprotectedSchedules asynch method calls.
BeforeDestructionpublicPerforms any necessary actions before the first destructor is called.
BeginInvokepublicPerforms an asynchronous call to the method specified by either AProc or AFunc.
BroadcastMessagepublicSends a message to all client callbacks.
BroadcastObjectpublicSends an object to all client callbacks.
CallbackTunnelOfpublicReturns the communication tunnel.
CanObserveprotected
ChangeNameprotectedSets the private, internal storage for the Name property to the string passed in NewName.
CheckDisposedprotected
ClassInfopublicReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNamepublicReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIspublicDetermines whether an object is of a specific type.
ClassParentpublicReturns the type of the immediate ancestor of a class.
ClassTypepublicReturns the class reference for the object's class.
CleanupInstancepublicPerforms finalization on long strings, variants, and interface variables within a class.
ConnectingprotectedFires an event when a connection is opened.
CreatepublicCreate DSAdmin instance.
CreateChannelTunnelpublicCreates a channel callback.
CreateServerClassespublicRegisters server classes with the server.
CreateServerMethodspublicRegisters server methods with the server.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DefinePropertiesprotected
DestroypublicDestroy TDSServer instance.
DestroyComponentspublicDestroys all owned components.
DestroyingpublicIndicates that the component and its owned components are about to be destroyed.
DisconnectingprotectedFires an event when a connection is closed.
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOfpublicDisposeOf forces the execution of the destructor code in an object.
DropServerClassespublicUnregisters server classes from the server.
DropServerMethodspublicUnregisters server methods from the server.
EndFunctionInvokepublicBlocks the caller until the specified ASyncResult completes.
EndInvokepublicBlocks the caller until the specified ASyncResult completes.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
ErrorprotectedFires an error event.
ExecuteActionpublicExecutes an action.
FieldAddresspublicReturns the address of a published object field.
FindComponentpublicIndicates whether a given component is owned by the component.
FindCustomServerprotectedFinds an instance of a server specified by the component name.
FindServerpublicFind instance of server by component name.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
FreeNotificationpublicEnsures that AComponent is notified that the component is going to be destroyed.
FreeOnReleasepublicFrees the interface reference for components that were created from COM classes.
GetAllChannelCallbackIdpublicReturns a list of all callbacks available on a given channel.
GetAllChannelClientIdpublicReturns a list of all client channels registered with a given channel.
GetAllChannelNamespublicReturns a list of all channel names.
GetCallbackTunnelpublicReturns the communication tunnel.
GetChildOwnerprotectedReturns the owner of a child component being read from a stream.
GetChildParentprotectedReturns the parent or, if there is no parent, returns the owner of a child component being read from a stream.
GetChildrenprotectedEnumerates all child components.
GetClassTableprotectedProtected getter implementation for the ClassTable property.
GetDeltaStreamsprotected
GetDisposedprotectedGetter for the Disposed property.
GetEnumeratorpublicReturns a TComponent enumerator.
GetHashCodepublicReturns an integer containing the hash code.
GetIDsOfNamesprotectedMaps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs).
GetInterfacepublicRetrieves a specified interface.
GetInterfaceEntrypublicReturns the entry for a specific interface implemented in a class.
GetInterfaceTablepublicReturns a pointer to a structure containing all of the interfaces implemented by a given class.
GetJSONMarshalerpublicReturns the marshaler for TObject parameters.
GetJSONUnMarshalerpublicReturns the unmarshaler for TObject parameters.
GetMethodTableprotectedProtected getter implementation for the MethodTable property.
GetNamePathpublicReturns a string used by the Object Inspector.
GetObserversprotectedGetter of Observers.
GetOwnerprotectedReturns the owner of a component.
GetParentComponentpublicReturns the containing component.
GetServerClasspublicDelegate for the GetServerClass method.
GetServerClassespublicProvides a collection of classes registered with the server.
GetServerClassListpublicProvides a list of classes registered with the server.
GetServerConnectionpublicCreate connection to server with connection properties.
GetServerMethodpublicDelegate for the GetServerMethod method.
GetServerMethodParameterspublicProvides a collection that contains parameters for methods registered with the server.
GetServerMethodspublicProvides a collection of methods registered with the server.
GetTraceInfoEventprotectedProtected read implementation for the OnTrace event.
GetTypeInfoprotectedRetrieves the type information for an object.
GetTypeInfoCountprotectedReturns the number of type information interfaces that an object provides (either 0 or 1).
HasChannelCallbackpublicReturns whether there is a channel for a given client identifier.
HasParentpublicVerifies whether the component has a parent.
InheritsFrompublicDetermines the relationship of two object types.
InitInstancepublicInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InsertComponentpublicEstablishes the component as the owner of a specified component.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
InvokeprotectedProvides access to Automation properties and methods when the component wraps an Automation object.
IsImplementorOfpublicIndicates whether the component implements a specified interface.
LoadedprotectedInitializes the component after the form file has been read into memory.
MarshalDatapublicMarshals any object using the local marshaler.
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
NotificationprotectedForwards notification messages to all owned components.
NotifyCallbackpublicPerforms synchronous message delivery to a callback.
NotifyObjectpublicPerforms synchronous object delivery to a callback.
ObserverAddedprotected
operator ()publicC++ conversion of a TComponent into a System.Classes.IInterfaceComponentReference or a System.IInterface, depending on casting.
PreparingprotectedFires an event that occurs when a server method is being prepared for all TDSServerClass instances registered with the server.
QualifiedClassNamepublicReturns the qualified name of the class.
QueryInterfaceprotectedReturns a reference to a specified interface if the current component supports that interface.
ReadStateprotectedReads the state of the component.
ReferenceInterfacepublicEstablishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed.
RegisterChannelCallbackpublicRegisters a channel callback with the current instance.
RemoveComponentpublicRemoves a specified component specified from the component's Components list.
RemoveFreeNotificationpublicDisables the destruction notification that was enabled by FreeNotification.
RemoveFreeNotificationsprotectedNotifies all owned components of the owner component's imminent destruction.
RemoveServerComponentpublicRemoves the specified server component from the components list.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SetAncestorprotectedClears or sets csAncestor state in the component's ComponentState property.
SetChildOrderprotectedSets the visual ordering of a child control.
SetClassTableprotectedProtected setter implementation for the ClassTable property.
SetDesigningprotectedEnsures that components inserted at design time have their design-mode flag set.
SetDesignInstanceprotectedEnsures that components inserted at design time have their design-mode flag set.
SetInlineprotectedSets the csInline bit of the component's ComponentState property.
SetMethodTableprotectedProtected setter implementation for the MethodTable property.
SetNameprotectedSets the value of the Name property.
SetParentComponentprotectedSets the parent component.
SetSubComponentpublicIdentifies whether the component is a subcomponent.
SetTraceInfoEventprotectedProtected write implementation for the OnTrace event.
StartpublicStarts the DataSnap server.
StoppublicStops the DataSnap server.
ToStringpublicReturns a string containing the class name.
TransportStoppingprotected
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
UnMarshalJSONpublicUnmarshals a TJSONValue using the local unmarshaler.
UnregisterChannelCallbackpublicUnregisters a client channel callback.
UpdateActionpublicUpdates the state of an action.
UpdatedprotectedClears the csUpdating state in the component's ComponentState property when the component finishes updating.
UpdateRegistryprotectedProvides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces.
UpdatingprotectedSets the csUpdating state in the component's ComponentState property.
ValidateContainerprotectedDetermines whether an object can be inserted into a container.
ValidateInsertprotectedProvides the interface for a method that validates a child component before it is inserted.
ValidateRenameprotectedEnsures that renaming an owned component does not create a name conflict.
WriteStateprotectedWrites the state of the component.