C# Class Zetbox.API.Client.HttpServiceClient

Inheritance: Zetbox.API.Client.ZetboxService.IZetboxService
Mostrar archivo Open project: daszat/zetbox

Public Methods

Method Description
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[]

Private Methods

Method Description
InitializeRequest ( Uri destination ) : WebRequest
MakeRequest ( Uri destination, Action sendRequest ) : byte[]

Method Details

FetchRelation() public method

public FetchRelation ( System.Guid version, System.Guid relId, int role, int ID ) : byte[]
version System.Guid
relId System.Guid
role int
ID int
return byte[]

GetBlobStream() public method

public GetBlobStream ( System.Guid version, int ID ) : Stream
version System.Guid
ID int
return Stream

GetListOf() public method

public GetListOf ( System.Guid version, SerializableType type, int ID, string property ) : byte[]
version System.Guid
type SerializableType
ID int
property string
return byte[]

GetObjects() public method

public GetObjects ( System.Guid version, SerializableExpression query ) : byte[]
version System.Guid
query SerializableExpression
return byte[]

HttpServiceClient() public method

public HttpServiceClient ( ICredentialsResolver credentialsResolver, ZetboxStreamReader readerFactory, ZetboxStreamWriter writerFactory ) : System
credentialsResolver ICredentialsResolver
readerFactory ZetboxStreamReader
writerFactory ZetboxStreamWriter
return System

InvokeServerMethod() public method

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
return byte[]

SetBlobStream() public method

public SetBlobStream ( ZetboxService request ) : ZetboxService.BlobResponse
request ZetboxService
return ZetboxService.BlobResponse

SetObjects() public method

public SetObjects ( System.Guid version, byte msg, ObjectNotificationRequest notificationRequests ) : byte[]
version System.Guid
msg byte
notificationRequests ObjectNotificationRequest
return byte[]