ServiceAgent T  MembersMicrosoft Research Project Hawaii SDK 2.1

The ServiceAgent T  type exposes the following members.
Constructors

  NameDescription
Public methodServiceAgent T  
Initializes a new instance of the ServiceAgent class.
Public methodServiceAgent T (HttpMethod, Object)
Initializes a new instance of the ServiceAgent class.
Back to Top
Methods

  NameDescription
Protected methodStatic memberDeserializeResponse TResult 
Deserializes the response stream.
Protected methodStatic memberDeserializeResponseJson TResult 
Deserializes the response stream using JSON serializer.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Protected methodGetPostData
This method must be implemented by all classes that inherit from ServiceAgent. It will provide the POST data that has to be sent to the service if the Http Method used is POST.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnCompleteRequest
A virtual method. It is invoked after completing the service request. The implementation of this base class will invoke the client's "on complete" callback method. Classes that inherit from ServiceAgent can oveerite this method to further process the service call result before calling the client's "on complete" callback method.
Protected methodParseOutput
This method is called after the response sent by the server is received by the client. It allows classes that inherit from ServiceAgent to do their own processing of the data received from the server.
Public methodProcessRequest
This method initiates the asynchronous service call.
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Protected propertyClientIdentity
Gets or sets the client identity.
Protected propertyOnComplete
Gets or sets OnComplete handler.
Protected propertyRequestContentType
Gets the request content type.
Protected propertyRequestMethod
Gets or sets the HTTP method (GET, POST, PUT or DELETE).
Protected propertyResult
Gets or sets service result.
Protected propertyUri
Gets or sets service Uri.
Back to Top
See Also