Click or drag to resize

RequestEvent Class

Provides data when calling a RequestHandler.
Inheritance Hierarchy
SystemObject
  OBCOM.NetSwitchLib.ServersRequestEvent

Namespace:  OBCOM.NetSwitchLib.Servers
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public sealed class RequestEvent

The RequestEvent type exposes the following members.

Properties
  NameDescription
Public propertyDestination
Gets the destination of this request event.
Public propertyErrorHandler
Gets or sets the error handler of this request event.
Public propertyHasSentReply
Gets a value that indicates whether the reply has been sent.
Public propertyMessage
Gets the request message of this request event.
Public propertyReplyPath
Gets the reply path of this request event.
Public propertyRequestId
Gets the request ID of this request event.
Public propertyServerChannel
Gets the server channel of this request event.
Public propertyServiceName
Gets the service name of this request event.
Public propertyTimeout
Gets the timeout of this request event.
Top
Methods
  NameDescription
Public methodDispatchReply
Dispatches supplied reply data to the pending reply handler indexed by given replyKey.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectT
Gets the object contained in the messages of this request event.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInform
Logs an information message.
Public methodRunAsyncTaskT
Executes the supplied task in a separate thread.
Public methodSendErrorReply(Exception)
Sends an ERROR reply message built using the Message of the supplied exception.
Public methodSendErrorReply(Object)
Sends a ERROR reply message built using the supplied data.
Public methodSendErrorReply(String)
Sends an ERROR reply message using the supplied text message.
Public methodSendNullReply
Sends no reply message but marks the request as having sent a reply.
Public methodSendReply(Object)
Sends a SUCCESS reply message built using the supplied data.
Public methodSendReply(String)
Sends a SUCCESS reply message built using the supplied text.
Public methodSendReply(Object, Int32)
Sends a reply message built using the supplied data and completion status.
Public methodSendSubRequest(String, Object)
Sends a subrequest message to a destination and then blocks forever waiting for the reply.
Public methodSendSubRequest(String, Object, ReplyHandler)
Sends a subrequest message to a destination.
Public methodSendSubRequest(String, Object, Int32)
Sends a subrequest message to a destination and then blocks forever waiting until timeout.
Public methodSendSubRequest(String, Object, ReplyHandler, Int32)
Sends a subrequest message to a destination.
Public methodSendSubRequest(String, Object, ReplyHandler, Int32, String)
Sends a subrequest message to a destination.
Public methodSevere(String)
Logs an error message.
Public methodSevere(Exception, String)
Logs an error message with associated ex.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWarning
Logs a warning message.
Top
See Also