C# 클래스 StompNet.Models.StompInterpreter

Class to transform frames into an instance of a 'subclass' matching its command.
파일 보기 프로젝트 열기: krlito/StompNet

공개 메소드들

메소드 설명
Interpret ( Frame frame ) : Frame

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

메소드 상세

Interpret() 공개 정적인 메소드

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.
리턴 StompNet.Models.Frames.Frame