C# Class DotAmf.ServiceModel.Dispatcher.AmfOperationUtil

AMF operations utility.
Afficher le fichier Open project: artema/DotAmf Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

BuildErrorMessage() public static méthode

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

BuildMessageReply() public static méthode

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.
Résultat DotAmf.ServiceModel.Channels.AmfGenericMessage

CreateResultReplyTarget() public static méthode

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

CreateStatusReplyTarget() public static méthode

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

GenerateTimestamp() public static méthode

Generate current timestamp.
public static GenerateTimestamp ( ) : double
Résultat double

GenerateUuid() public static méthode

Generate a unique ID.
public static GenerateUuid ( ) : string
Résultat string