UNPKG

vban

Version:
35 lines (34 loc) 1.04 kB
import { Buffer } from 'buffer'; import { VBANPacket } from '../VBANPacket.js'; import { ESubProtocol } from '../ESubProtocol.js'; import { EServiceType } from './EServiceType.js'; import { IVBANHeaderService } from './IVBANHeaderService.js'; import { EServiceFunction } from './EServiceFunction.js'; export declare class VBANServicePacket extends VBANPacket { /** * {@link VBANServicePacket.subProtocol} */ static readonly subProtocol: ESubProtocol; subProtocol: ESubProtocol; /** * Sub Type of the service packet * {@link EServiceType} */ service: EServiceType; /** * current function for this function */ serviceFunction: EServiceFunction; /** * answer is a reply to another request */ isReply: boolean; data: unknown; /** * not used . */ sr: number; constructor(headers: IVBANHeaderService); toUDPPacket(): ReturnType<(typeof VBANServicePacket)['toUDPPacket']>; static toUDPPacket(packet: VBANServicePacket): Buffer; }