package com.example.mina.base; import org.apache.mina.core.service.IoHandlerAdapter; /** * @author 杜云山 * @date 21/03/05 */ public abstract class AbstractVirtualBoxHandler extends IoHandlerAdapter { /** * 存储衰减值的矩阵 */ protected int[][] matrix; protected int type; protected int row = 10; protected int maxAttenuate = 99; /** * 初始化矩阵以及该设备的一些参数 */ protected abstract void initMatrix(); /** * 处理消息 */ protected abstract void handleMessage(); }