Delphi XE DataSnap.DSServer[1]介绍

Delphi XE DataSnap.DSServer[1]介绍

  • 定义实现DataSnap回调隧道的类、要通过这些隧道发送的项、事件、隧道管理器、
  • 提供程序模块适配器、管理传输和服务器类的创建和生存期的DataSnap服务器、
  • dbExpress框架与DataSnap服务器之间的驱动程序、DataSnap server模块以及相关功能。

Package:DataSnapServer270.bpl  

Classes

TDSCallbackTunnel

Implements producer and consumer data between TDSServer and the channel callback server method.

在TDSServer和通道回调服务器方法之间实现生产者和消费者数据

TDSCallbackTunnelBufferItem

Item to be placed into the TDSCallbackTunnel buffer. It represents a single message to be sent to a specific client.

要放入TDSCallbackTunnel缓冲区的项。它表示要发送到特定客户端的单个消息

TDSCallbackTunnelManager Singleton that manages heavyweight callback instances.  //管理重量级回调实例的Singleton。
TDSCallbackTunnelManagerInternal Is an internal extension of TDSCallbackTunnelManager.  //是TDSCallbackTunnelManager的内部扩展
TDSServer Manages the creation and lifetime of transports and server classes.  //管理传输和服务器类的创建和生存期。
TDSServerClass

Component used to specify a server-side class with published methods that can be called from a remote client using dynamic method invocation.

组件,用于指定具有已发布方法的服务器端类,这些方法可以使用动态方法调用从远程客户端调用。

TDSServerDriver

Represents a communication driver between the DBX framework and a DataSnap Server.

//表示DBX框架和DataSnap Server之间的通信驱动程序。

TServerClassAdapter  
TServerClassAdapterClass  
TServerClassAdapterFactory  

Routines

InternalRemoveCallbackTunnel Removes the given tunnel (and its callbacks) from the given server.  //从给定的服务器中删除给定的隧道(及其回调)

Types

TConverterEventDictionary  
TDSCallbackTunnelEvent User event for notification of a callback tunnel, such as create and close. //用于通知回调隧道的用户事件,如创建和关闭
TDSCallbackTunnelEventItem

Event item passed in through the TDSCallbackTunnelEvent, for providing tunnel event information. 

//通过TDSCallbackTunnelEvent传入的事件项,用于提供隧道事件信息

TDSCallbackTunnelState Enumerates the states a heavyweight callback tunnel can be in.  //枚举重量级回调隧道可以处于的状态。
TDSConnectEvent Event handler for OnConnect event.  事件是OnConnect事件的处理程序
TDSCreateInstanceEvent Event handler for OnCreateInstance event.
TDSDestroyInstanceEvent Event handler for the OnDestroyInstance event.
TDSErrorEvent Event handler for OnError event.
TDSGetClassEvent Event handler for OnGetClass event.
TDSPrepareEvent Event handler for OnPrepare event.
TDSSetupConverterEvent  
TDSSetupReverterEvent  
TReverterEventDictionary  

Constants - 常量

CALLBACK_TIMEOUT CALLBACK_TIMEOUT: Integer = $1388;

 

 

创建时间:2022.11.04  更新时间:

posted on 2022-11-04 11:27  滔Roy  阅读(223)  评论(0编辑  收藏  举报

导航