Back to project page USBIPServerForAndroid.
The source code is released under:
GNU General Public License
If you think the Android project USBIPServerForAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.cgutman.usbip.server.protocol.cli; /* w w w . ja v a 2 s. c o m*/ import org.cgutman.usbip.server.UsbDeviceInfo; import org.cgutman.usbip.server.protocol.ProtoDefs; public class ImportDeviceReply extends CommonPacket { public UsbDeviceInfo devInfo; public ImportDeviceReply(byte[] header) { super(header); } public ImportDeviceReply(short version) { super(version, ProtoDefs.OP_REP_IMPORT, ProtoDefs.ST_OK); } @Override protected byte[] serializeInternal() { if (devInfo == null) { return null; } return devInfo.dev.serialize(); } }