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

📄 agentfactory.java

📁 基于jxta的远程教学系统源代码
💻 JAVA
字号:
package server;

import net.jxta.endpoint.Message;
import net.jxta.endpoint.MessageElement;
import java.util.*;
import java.io.*;


/** * A factory to instantiate Agent objects */
public final class AgentFactory {
    private static AgentFactory factory = new AgentFactory();

    /** * Get the instance of the AgentFactory */
    public static AgentFactory getInstance() {
        return factory;
    }

    /** * Instantiates an Agent based on the course.  Currently returns an Agent * object. * * @param course The course requested. */
    public Agent getAgent(String course) {
        return new Agent();
    }
}

⌨️ 快捷键说明

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