public byte[] FrameClose(int code)
 {
     if (handler != null)
     {
         return(handler.FrameClose(code));
     }
     else
     {
         return(new byte[0]);
     }
 }