123456789101112131415161718192021222324252627282930 |
- using CommonLang;
- using Pomelo.DotNetClient;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace Pomelo.DotNetClient
- {
- public static class PomeloStatus
- {
- public static string Status
- {
- get
- {
- return string.Format("POOL=S:{0}/{1} R:{2}/{3} O:{4}/{5} MAX=S:{6} R:{7}",
- SendMessage.PoolActive,
- SendMessage.PoolSize,
- RecvMessage.PoolActive,
- RecvMessage.PoolSize,
- ObjectPoolStatus.TotalActive,
- ObjectPoolStatus.TotalCount,
- CUtils.ToBytesSizeString(SendMessage.MaxPackageSize),
- CUtils.ToBytesSizeString(RecvMessage.MaxPackageSize)
- );
- }
- }
- }
- }
|