📄 chatserver.cs
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -