⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serviceconnector.java

📁 这是一个以JAVA编写的程序,本人还没有试过,是一个简单的温度控制系统
💻 JAVA
字号:
package net.sf.dz.daemon.tcp.client;import java.io.IOException;/** * Service connector. * * <p> * * Acts as a device container. * * @author Copyright &copy; <a href="mailto:vt@freehold.crocodile.org">Vadim Tkachenko</a> 2001-2004 * @version $Id: ServiceConnector.java,v 1.2 2004/06/28 20:35:48 vtt Exp $ */public interface ServiceConnector {    /**     * Send a message across the wire.     *     * @param deviceAddress Remote device address.     *     * @param message Message to send.     *     * @exception IOException if the message couldn't be sent.     */    public void send(String deviceAddress, String message) throws IOException;    /**     * Send a message across the wire and read the response.     *     * @param deviceAddress Remote device address.     *     * @param message Message to send.     *     * @return Response received. <strong>IMPORTANT:</strong> this must be     * one line response.     *     * @exception IOException if the message couldn't be sent.     */    public String sendExclusive(String deviceAddress, String message) throws IOException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -