AMS TCP header

interface AmsTcpHeader {
    command: number;
    commandStr: string;
    data?: AmsAddress | Buffer | AmsRouterStateData;
    length?: number;
}

Properties

command: number

AMS command as number

commandStr: string

AMS command as string

data?: AmsAddress | Buffer | AmsRouterStateData

AMS data (if any))

length?: number

AMS data length (bytes)