Datasnap.Win.SConnect

From RAD Studio API Documentation
Jump to: navigation, search

Contains interfaces that define the structure for the data block interpreters that need to access memory buffers, TSocketConnection components that transform data that is communicated over the component, and classes that implement data dispatchers, socket connection and transport, streamed connection, transport threads and web connections for over the HTTP protocol transmission of data to an application server.

Package dsnapcon.bpl

Classes

EInterpreterErrorEInterpreterError is the exception class for errors that arise when trying to interpret COM calls that have been marshaled to a data block.
ESocketConnectionErrorESocketConnectionError is the exception class for errors that arise when sending or receiving messages using TSocketConnection.
IDataBlockIDataBlock is the interface used by data block interpreters to access memory buffers.
IDataInterceptIDataIntercept is the interface used by TSocketConnection components to transform data that is communicated over the connection.
ISendDataBlockISendDataBlock is the interface used by data block interpreters to send messages to an application server after they are marshaled.
ITransportITransport is the interface used by TStreamedConnection to connect to, read from, and write to a remote application server.
TCustomDataBlockInterpreterTCustomDataBlockInterpreter marshals COM interface calls for streamed connection components.
TDataBlock
TDataBlockInterpreterTDataBlockInterpreter marshals COM interface calls for non COM-based connection components.
TDataDispatch
TPacketInterceptFactoryTPacketInterceptFactory is the type of the class factory used to instantiate a data packet interceptor.
TSocketConnectionTSocketConnection uses Windows sockets to manage the connection to an application server.
TSocketTransport
TStreamedConnectionTStreamedConnection is the base class for components that handle their own marshaling of interface calls when connecting to application servers.
TTransportThread
TWebConnectionTWebConnection uses HTTP to manage the connection to an application server.

Routines

GetPacketInterceptorList
LoadWinSock2

Types

PIntArray
PVariantArray
TIntArray
TVarFlag
TVarFlags
TVariantArray

Variables

WSACloseEvent
WSACreateEvent
WSAEventSelect
WSAResetEvent

Constants

asCreateObjectasCreateObject: Integer = 4;
asErrorasError: Integer = 1;
asFreeObjectasFreeObject: Integer = 5;
asGetAppServersasGetAppServers: Integer = $12;
asGetGUIDasGetGUID: Integer = $11;
asGetIDasGetID: Integer = 3;
asGetServersasGetServers: Integer = $10;
asInvokeasInvoke: Integer = 2;
asMaskasMask: Integer = $FF;
asSoapCommandasSoapCommand: Integer = $14;
CallSigCallSig: Integer = $DA00;
ResultSigResultSig: Integer = $DB00;
THREAD_EXCEPTIONTHREAD_EXCEPTION: Integer = $403;
THREAD_RECEIVEDSTREAMTHREAD_RECEIVEDSTREAM: Integer = $402;
THREAD_REPLACETRANSPORTTHREAD_REPLACETRANSPORT: Integer = $405;
THREAD_SENDNOTIFYTHREAD_SENDNOTIFY: Integer = $404;
THREAD_SENDSTREAMTHREAD_SENDSTREAM: Integer = $401;