|  |  |  | @ -182,7 +182,6 @@ namespace JXSoft {@@ -182,7 +182,6 @@ namespace JXSoft { | 
			
		
	
		
			
				
					|  |  |  |  |         string toProtocolData(); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |      | 
			
		
	
		
			
				
					|  |  |  |  |     public interface ILinkState { | 
			
		
	
		
			
				
					|  |  |  |  |         //当前链接状态 | 
			
		
	
		
			
				
					|  |  |  |  |         int getLinkState(); | 
			
		
	
	
		
			
				
					|  |  |  | @ -192,6 +191,8 @@ namespace JXSoft {@@ -192,6 +191,8 @@ namespace JXSoft { | 
			
		
	
		
			
				
					|  |  |  |  |         /// <param name="invokeState">目标链接状态</param> | 
			
		
	
		
			
				
					|  |  |  |  |         /// <returns>是否成功</returns> | 
			
		
	
		
			
				
					|  |  |  |  |         bool transform(ILinkState invokeState); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         //DataEventModel getEventModel(); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     #endregion | 
			
		
	
	
		
			
				
					|  |  |  | @ -352,4 +353,13 @@ namespace BaseLinkState@@ -352,4 +353,13 @@ namespace BaseLinkState | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     #endregion | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | /// <summary> | 
			
		
	
		
			
				
					|  |  |  |  | /// this Package improved a base example of server open & close | 
			
		
	
		
			
				
					|  |  |  |  | /// you can also create class implements ILinkState. | 
			
		
	
		
			
				
					|  |  |  |  | /// </summary> | 
			
		
	
		
			
				
					|  |  |  |  | namespace BaseServerState {  | 
			
		
	
		
			
				
					|  |  |  |  |      | 
			
		
	
		
			
				
					|  |  |  |  | } |