adtg

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

The adtg package implements the ADTG client protocol.

Introduction

The Remote Data Services (RDS) Transport Protocol<1> is an HTTP request/response protocol that facilitates:

* Remote method definition and invocation, including encoding of method call, parameters, and return parameters.

* Method definitions for executing database commands and for synchronizing database results.

* Definition of a record format for encoding database results.

Overview

The Remote Data Services (RDS) Transport Protocol is an application-level protocol for distributed applications. RDS Transport Protocol specifies a protocol allowing for the remote query and manipulation of data on a remote server. To facilitate data operations, it specifies how a remote method and its parameters are represented in an RDS message for transmission by way of an HTTP request to a server for execution. It also specifies how the results of an invoked method are represented in a message for transmission back to the client by way of the HTTP response. Finally, it specifies the data-centric messages used for data query and manipulation as well as their associated RecordSets.

The core data-centric messages used in an RDS Transport Protocol server are as follows:

* Execute - Provides a method to execute a complex SQL command and return a RecordSet.

* Query - Provides a method to execute a simple parameterless SQL query command and return a RecordSet.

* Synchronize - Provides a method for an RDS Transport Protocol client to synchronize data changes from the client to the server.

The following diagram depicts a typical flow of communication in the RDS Transport Protocol. The client uses Query to populate a client-side RecordSet and uses data from the RecordSet for processing. The client-side RecordSet tracks changes made to the data. Only these changes are then transmitted back to the server.<2>

Index

Constants

This section is empty.

Variables

View Source
var (
	// import guard
	GoPackage = "dcom/adtg"
)

Functions

This section is empty.

Types

type DataFactory

type DataFactory dcom.InterfacePointer

DataFactory structure represents IDataFactory RPC structure.

func (*DataFactory) InterfacePointer

func (o *DataFactory) InterfacePointer() *dcom.InterfacePointer

func (*DataFactory) MarshalNDR

func (o *DataFactory) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*DataFactory) NDRSizeInfo

func (o *DataFactory) NDRSizeInfo() []uint64

func (*DataFactory) UnmarshalNDR

func (o *DataFactory) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type DataFactory2

type DataFactory2 dcom.InterfacePointer

DataFactory2 structure represents IDataFactory2 RPC structure.

func (*DataFactory2) InterfacePointer

func (o *DataFactory2) InterfacePointer() *dcom.InterfacePointer

func (*DataFactory2) MarshalNDR

func (o *DataFactory2) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*DataFactory2) NDRSizeInfo

func (o *DataFactory2) NDRSizeInfo() []uint64

func (*DataFactory2) UnmarshalNDR

func (o *DataFactory2) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

type DataFactory3

type DataFactory3 dcom.InterfacePointer

DataFactory3 structure represents IDataFactory3 RPC structure.

func (*DataFactory3) InterfacePointer

func (o *DataFactory3) InterfacePointer() *dcom.InterfacePointer

func (*DataFactory3) MarshalNDR

func (o *DataFactory3) MarshalNDR(ctx context.Context, w ndr.Writer) error

func (*DataFactory3) NDRSizeInfo

func (o *DataFactory3) NDRSizeInfo() []uint64

func (*DataFactory3) UnmarshalNDR

func (o *DataFactory3) UnmarshalNDR(ctx context.Context, w ndr.Reader) error

Directories

Path Synopsis
idatafactory
v0
idatafactory2
v0
idatafactory3
v0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL