Beispiel #1
0
 public StompEventArgs(MessageEventArgs args)
 {
     this.Data       = args.Data;
     this.IsBinary   = args.IsBinary;
     this.IsPing     = args.IsPing;
     this.IsText     = args.IsText;
     this.RawData    = args.RawData;
     this.StompFrame = ServerFrameFactory.CreateFromMessage(args.Data);
 }
Beispiel #2
0
 public Frame FromMessage(MessageEventArgs args)
 {
     return(ServerFrameFactory.CreateFromMessage(args.Data));
 }