MessageType Enum

From RemObjects Software

Jump to: navigation, search

This is a RemObjects SDK Architecture entry
Feel free to add your notes to this topic below.



Overview

The MessageType enum is used to specify the type of message.

These types are mostly for internal use by the RemObjects SDK framework; you will usually not handle them or deal with message types directly.

Namespace

Declaration (C#)

public enum MessageType
{
    Request = 0,
    Response = 1,
    AsyncMessage = 2,
    Exception = 3,
    QueryServiceInfo = 4,
    Event = 5,
    Poll = 6,
    PollResponse = 7,
    AsyncAck = 8
}

Members

Member
Description
Request A message representing a "Request" send from the client to the server.
Response A message representing a "Response" sent back from the server to the client, answering to a "Request".
AsyncMessage
Exception The message indicating an exception.

Messages of this type will only be send back from the Server to the Client and they indicate that an error occurred on the server while processing the request.

QueryServiceInfo
Event An "Event" message being sent from the server to one or more clients.
Poll A "Poll" message sent to the server to retrieve queued events or asynchronous responses.
PollResponse Reply to a "Poll" message, containing zero or more message bodies that had been queued on the server.
AsyncAck


See Also


Product: RemObjects SDK
Current version: RemObjects SDK 'Vinci' (5.0)

ListsGlossaryFeaturesHow ToComponentsToolsSamplesArticlesArchitectureIssues

Personal tools