📄 bluetoothservice.java
字号:
package org.placelab.midp.server;import java.io.DataInputStream;import java.io.DataOutputStream;/** * Interface that should be implemented by services that want to register * with the Bluetooth server */public interface BluetoothService { public final static byte LOG_UPLOAD_SERVICE = 1; public final static byte MAP_LOADER_SERVICE = 2; public final static byte ACTIVITY_UPLOAD_SERVICE = 3; public final static byte GPS_TIME_SERVICE = 4; public final static byte ESM_QUESTION_SERVICE = 5; public final static byte CONSOLE_SERVICE = 6; public final static byte PLACE_UPLOAD_SERVICE = 7; public String getName(); public byte getServiceType(); public void newClient(DataInputStream in, DataOutputStream out);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -