/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.ifish.socket.model.send; import com.ifish.socket.model.HeadModel; import java.io.Serializable; /** * 设备登录服务器(24字节=17+7字节登陆信息) * * @author guogw * */ public class DeviceLoginContextLength24 extends HeadModel implements Serializable { private static final long serialVersionUID = 5329299292101065390L; //厂商 private byte vendor; //硬件型号 private byte hardware_type; //版本 private byte version; //登陆IP private byte[] login_ip = new byte[4]; public byte getVendor() { return vendor; } public void setVendor(byte vendor) { this.vendor = vendor; } public byte getHardware_type() { return hardware_type; } public void setHardware_type(byte hardware_type) { this.hardware_type = hardware_type; } public byte getVersion() { return version; } public void setVersion(byte version) { this.version = version; } public byte[] getLogin_ip() { return login_ip; } public void setLogin_ip(byte[] login_ip) { this.login_ip = login_ip; } }