libcomserverlistener.java

来自「SRI international 发布的OAA框架软件」· Java 代码 · 共 38 行

JAVA
38
字号
/* $Id: LibComServerListener.java,v 1.2 2002/09/30 17:53:49 giuli Exp $*/
/*
 * @(#)LibComServerListener.java
 *
 * 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;
import com.sri.oaa2.icl.IclList;

/**
 * LibComServerListener is used to listen for server connections from a
 * LibComCOnnection which is a server.
 */
public interface LibComServerListener {
    /**
     * Notifies the listener that a new connection has been established.
     *
     * @param newConnection the new connection
     * @param connectionId the id for the new connection
     * @param address the connection's address
     * @param params any parameters to use when adding the connection to the
     *  comm db.
     */
    void notifyConnectionEstablished(LibComConnection newConnection, String connectionId,
                            IclTerm address, IclList params);
}

⌨️ 快捷键说明

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