C# Class StompNet.Models.StompInterpreter

Class to transform frames into an instance of a 'subclass' matching its command.
Afficher le fichier Open project: krlito/StompNet

Méthodes publiques

Méthode Description
Interpret ( Frame frame ) : Frame

Transform a frame into a 'subclass' matching its command. These subclasses are: ReceiptFrame, MessageFrame, ErrorFrame, ConnectedFrame.

Method Details

Interpret() public static méthode

Transform a frame into a 'subclass' matching its command. These subclasses are: ReceiptFrame, MessageFrame, ErrorFrame, ConnectedFrame.
public static Interpret ( Frame frame ) : Frame
frame StompNet.Models.Frames.Frame Frame to be interpreted.
Résultat StompNet.Models.Frames.Frame