📄 libcomconnection.java
字号:
/*
* @(#)LibComConnection.java 08/1999
*
* The contents of this file are subject to the OAA Community Research
* License Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License
* at http://www.ai.sri.com/~oaa/. Software distributed under the License
* is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
* express or implied. See the License for the specific language governing
* rights and limitations under the License. Portions of the software are
* Copyright (c) SRI International, 1999. All rights reserved.
* "OAA" is a registered trademark, and "Open Agent Architecture" is a
* trademark, of SRI International, a California nonprofit public benefit
* corporation.
*/
package com.sri.oaa2.com;
import com.sri.oaa2.icl.IclTerm;
/**
* abstract class LibComConnection
*/
public interface LibComConnection {
/*
protected boolean connected = false;
protected LibComClient mClient;
protected String mConnectionId;
protected String[] mCmdLine;
*/
/**
* LibComConnection
public LibComConnection(LibComClient client, String connectionId, String[] cmdLine) {
mClient = client;
mConnectionId = connectionId;
mCmdLine = cmdLine;
connected = false;
};
*/
public boolean cnx_IsConnected();/* { return connected; }; */
public IclTerm cnx_CanonicalAddress(IclTerm address);
public boolean cnx_Connect(IclTerm address, IclTerm params);
public boolean cnx_sendMsg(IclTerm msg_send);
public boolean cnx_sendMsgFormatWriter(IclTerm msg_send);
public void cnx_Disconnect();
public IclTerm getClientAddress();
public IclTerm getListenAddress();
public boolean cnx_ListenAt(IclTerm address, IclTerm params);
public void setLibComServerListener(LibComServerListener listener);
public void setLibComListener(LibComListener listener);
public String[] getCmdLine();
/*
{
return mCmdLine;
}
*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -