C# Class DotAmf.ServiceModel.Dispatcher.AmfOperationUtil

AMF operations utility.
显示文件 Open project: artema/DotAmf Class Usage Examples

Public Methods

Method Description
BuildAcknowledgeMessage ( AbstractMessage message ) : AcknowledgeMessage

Build an acknowledge message.

BuildErrorMessage ( AbstractMessage message ) : ErrorMessage

Build an error message.

BuildMessageReply ( AmfGenericMessage request, object body ) : AmfGenericMessage

Build a message reply.

CreateResultReplyTarget ( AmfMessage requestMessage ) : string

Create a result message's reply target.

CreateStatusReplyTarget ( AmfMessage requestMessage ) : string

Create a status message's reply target.

GenerateTimestamp ( ) : double

Generate current timestamp.

GenerateUuid ( ) : string

Generate a unique ID.

Method Details

BuildAcknowledgeMessage() public static method

Build an acknowledge message.
public static BuildAcknowledgeMessage ( AbstractMessage message ) : AcknowledgeMessage
message DotAmf.ServiceModel.Messaging.AbstractMessage Incoming message.
return AcknowledgeMessage

BuildErrorMessage() public static method

Build an error message.
public static BuildErrorMessage ( AbstractMessage message ) : ErrorMessage
message DotAmf.ServiceModel.Messaging.AbstractMessage Incoming message.
return DotAmf.ServiceModel.Messaging.ErrorMessage

BuildMessageReply() public static method

Build a message reply.
public static BuildMessageReply ( AmfGenericMessage request, object body ) : AmfGenericMessage
request DotAmf.ServiceModel.Channels.AmfGenericMessage Request message.
body object Reply message's body.
return DotAmf.ServiceModel.Channels.AmfGenericMessage

CreateResultReplyTarget() public static method

Create a result message's reply target.
public static CreateResultReplyTarget ( AmfMessage requestMessage ) : string
requestMessage DotAmf.Data.AmfMessage Request message.
return string

CreateStatusReplyTarget() public static method

Create a status message's reply target.
public static CreateStatusReplyTarget ( AmfMessage requestMessage ) : string
requestMessage DotAmf.Data.AmfMessage Request message.
return string

GenerateTimestamp() public static method

Generate current timestamp.
public static GenerateTimestamp ( ) : double
return double

GenerateUuid() public static method

Generate a unique ID.
public static GenerateUuid ( ) : string
return string