C# Класс Zetbox.API.Client.HttpServiceClient

Наследование: Zetbox.API.Client.ZetboxService.IZetboxService
Показать файл Открыть проект

Открытые методы

Метод Описание
FetchRelation ( System.Guid version, System.Guid relId, int role, int ID ) : byte[]
GetBlobStream ( System.Guid version, int ID ) : Stream
GetListOf ( System.Guid version, SerializableType type, int ID, string property ) : byte[]
GetObjects ( System.Guid version, SerializableExpression query ) : byte[]
HttpServiceClient ( ICredentialsResolver credentialsResolver, ZetboxStreamReader readerFactory, ZetboxStreamWriter writerFactory ) : System
InvokeServerMethod ( byte &retChangedObjects, System.Guid version, SerializableType type, int ID, string method, SerializableType parameterTypes, byte parameter, byte changedObjects, ObjectNotificationRequest notificationRequests ) : byte[]
SetBlobStream ( ZetboxService request ) : ZetboxService.BlobResponse
SetObjects ( System.Guid version, byte msg, ObjectNotificationRequest notificationRequests ) : byte[]

Приватные методы

Метод Описание
InitializeRequest ( Uri destination ) : WebRequest
MakeRequest ( Uri destination, Action sendRequest ) : byte[]

Описание методов

FetchRelation() публичный Метод

public FetchRelation ( System.Guid version, System.Guid relId, int role, int ID ) : byte[]
version System.Guid
relId System.Guid
role int
ID int
Результат byte[]

GetBlobStream() публичный Метод

public GetBlobStream ( System.Guid version, int ID ) : Stream
version System.Guid
ID int
Результат Stream

GetListOf() публичный Метод

public GetListOf ( System.Guid version, SerializableType type, int ID, string property ) : byte[]
version System.Guid
type SerializableType
ID int
property string
Результат byte[]

GetObjects() публичный Метод

public GetObjects ( System.Guid version, SerializableExpression query ) : byte[]
version System.Guid
query SerializableExpression
Результат byte[]

HttpServiceClient() публичный Метод

public HttpServiceClient ( ICredentialsResolver credentialsResolver, ZetboxStreamReader readerFactory, ZetboxStreamWriter writerFactory ) : System
credentialsResolver ICredentialsResolver
readerFactory ZetboxStreamReader
writerFactory ZetboxStreamWriter
Результат System

InvokeServerMethod() публичный Метод

public InvokeServerMethod ( byte &retChangedObjects, System.Guid version, SerializableType type, int ID, string method, SerializableType parameterTypes, byte parameter, byte changedObjects, ObjectNotificationRequest notificationRequests ) : byte[]
retChangedObjects byte
version System.Guid
type SerializableType
ID int
method string
parameterTypes SerializableType
parameter byte
changedObjects byte
notificationRequests ObjectNotificationRequest
Результат byte[]

SetBlobStream() публичный Метод

public SetBlobStream ( ZetboxService request ) : ZetboxService.BlobResponse
request ZetboxService
Результат ZetboxService.BlobResponse

SetObjects() публичный Метод

public SetObjects ( System.Guid version, byte msg, ObjectNotificationRequest notificationRequests ) : byte[]
version System.Guid
msg byte
notificationRequests ObjectNotificationRequest
Результат byte[]