bluetoothservice.java

来自「这是一款基于PlaceLab软件开发的导航系统中间件的客户端程序.」· Java 代码 · 共 25 行

JAVA
25
字号
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 + =
减小字号Ctrl + -
显示快捷键?