| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- //----------------------------------------------------------------
- //Module Name: IServiceProxy
- //Purpose:
- //CopyRight: Muchinfo
- //History:
- //----------------------------------------------------------------
- //DateTime Author Description
- //----------------------------------------------------------------
- //2014-03-21 deng.yinping Create
- //----------------------------------------------------------------
- namespace Muchinfo.MTPClient.Data.Interfaces
- {
- public interface IServiceProxy
- {
- /// <summary>
- /// 终结点地址
- /// </summary>
- string EndpointAddress { get; }
- /// <summary>
- /// 对象释放
- /// </summary>
- void Dispose();
- ///// <summary>
- ///// 客户代理状态
- ///// </summary>
- //CommunicationState ClientState { get; }
- ///// <summary>
- ///// 服务终节点
- ///// </summary>
- //ServiceEndpoint Endpoint { get; }
- /// <summary>
- /// ip地址,如:192.168.30.50:4688
- /// </summary>
- string IPAddress { get; }
- /// <summary>
- /// Client是否在线
- /// </summary>
- /// <returns><c>true</c> if this instance is online; otherwise, <c>false</c>.</returns>
- bool IsOnline();
- /// <summary>
- /// 链路 组名
- /// </summary>
- string GroupName { get; set; }
- }
- }
|