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

📄 mail-2001-01-17

📁 实现在电脑平台上控制短信modem或手机进行通讯的jar包和相关实例
💻
字号:
Delivered-To: urba-cgu@urbanet.ch From: Mark Douglas <Mark_Douglas@systemsunion.com> To: "'cgu@urbanet.ch'" <cgu@urbanet.ch> Subject: Enhanced SocketServer and SocketNode classes Date: Wed, 17 Jan 2001 09:57:38 -0000 X-Mailer: Internet Mail Service (5.5.2650.21) Hi Ceki,I have made small changes to SocketServer and SockerNode to allow the clientmachine name to be displayed in the logging output.  This is important forus as we are using a single logging server with several clients.The new SocketServer2 and SocketNode2 classes (couldn't think of betternames) prepends the NDC string with the clients Host Name (or IP address ifthe HostName can not be found).  I thought the NDC string was a good placeto add this information, but you may have a better place?I have created an NDC entry for the server such that server logging messagescan easily be identified.I have included the two new source files plus a short example of the output.The output was generated with the following layout: %-6p (%9x:%-10t)%-40c{3} - %m%n <<Log.txt>>  <<SocketNode2.java>>  <<SocketServer2.java>> Note: I have changed the package names for the two classes to fit with ourpackage names - sorry.  Also, I find it difficult to follow the codingstyle, so again, sorry.If you think this may be useful to others, please feel free to include it asan addition in the next release or change the current SocketServer andSocketNode objects to include this new behaviour by default.Mark DouglasSystems Union Group plc

⌨️ 快捷键说明

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