📄 serviceconnector.java
字号:
package net.sf.dz.daemon.tcp.client;import java.io.IOException;/** * Service connector. * * <p> * * Acts as a device container. * * @author Copyright © <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 + -