oxcrpc

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: 10 Imported by: 0

Documentation

Overview

The oxcrpc package implements the OXCRPC client protocol.

Introduction

The Wire Format Protocol is used by a client to communicate with a server to access personal messaging data by using remote procedure call (RPC) interfaces. The Wire Format Protocol uses the EMSMDB and AsyncEMSMDB protocol interfaces between a client and server. This protocol extends DCE 1.1: Remote Procedure Call, as described in [C706].

Overview

The Wire Format Protocol enables a client to communicate with a server to access personal messaging data. Communications with the server are divided into three major functional areas: (1) initiating and establishing connection with the server, (2) issuing remote operations (ROPs) to the server for mailbox data, and (3) terminating communications with the server. This functionality is contained in the EMSMDB interface, as described in section 3.1 and section 3.2. If events are pending on the server that require client action, the client gets notification of those pending events by using the functionality contained in the AsyncEMSMDB interface, as described in section 3.3 and section 3.4.

The following figure shows a simplified overview of client and server communications.

Index

Constants

This section is empty.

Variables

View Source
var (
	// import guard
	GoPackage = "oxcrpc"
)

Functions

This section is empty.

Types

type AsyncSession

type AsyncSession dcetypes.ContextHandle

AsyncSession structure represents ACXH RPC structure.

func (*AsyncSession) ContextHandle

func (o *AsyncSession) ContextHandle() *dcetypes.ContextHandle

func (*AsyncSession) MarshalNDR

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

func (*AsyncSession) UnmarshalNDR

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

type Session

type Session dcetypes.ContextHandle

Session structure represents CXH RPC structure.

func (*Session) ContextHandle

func (o *Session) ContextHandle() *dcetypes.ContextHandle

func (*Session) MarshalNDR

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

func (*Session) UnmarshalNDR

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

Directories

Path Synopsis
asyncemsmdb
v0
emsmdb
v0

Jump to

Keyboard shortcuts

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