package cn.nianxx.thhotel.platform.system.common.result;

import java.time.OffsetDateTime;

/**
 * AgentBus 探针状态响应。只返回连接状态和安全计数器，不返回 Token 或 raw frame。
 */
public record AgentBusProbeStatusResponse(
        boolean enabled,
        boolean connected,
        boolean sessionReady,
        long receivedFrameCount,
        long capturedFrameCount,
        long ignoredFrameCount,
        long rejectedFrameCount,
        long failedFrameCount,
        String lastErrorCode,
        String lastErrorSummary,
        OffsetDateTime connectedAt,
        OffsetDateTime disconnectedAt,
        OffsetDateTime lastFrameReceivedAt
) {
}
