Exemple #1
0
 public JSPacket Pack(JSMessage msg)
 {
     var packet = new JSPacket();
     packet.MessageType = msg.GetType();
     msg.OnSerialize(packet);
     return packet;
 }
Exemple #2
0
 protected virtual void OnOpening(JSMessage message)
 {
 }