chatserver.cs

来自「一个聊天程序」· CS 代码 · 共 21 行

CS
21
字号
namespace RemotingChat
{
    using System;
	using System.Runtime.Remoting;

    /// <summary>
    ///    Summary description for ChatServer.
    /// </summary>

	public interface ChatServer 
	{
		void register(Chat c,String name); 
		//This is used to post broadcast messages to the server
		void postMessage(Message m);
		//This will return a list of all of the chatters that 
		//are currently logged onto this server
		String[] listChatters();
	}

}

⌨️ 快捷键说明

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