upcall, 2.7-friendly
This commit is contained in:
		
							parent
							
								
									45c09fdd05
								
							
						
					
					
						commit
						2d506de55a
					
				| 
						 | 
				
			
			@ -83,9 +83,11 @@ class ServerBase:
 | 
			
		|||
 | 
			
		||||
            def connectionMade(self):
 | 
			
		||||
                self.connected = True
 | 
			
		||||
                return Protocol.connectionMade(self)
 | 
			
		||||
 | 
			
		||||
            def connectionLost(self, reason):
 | 
			
		||||
                self.connected = False
 | 
			
		||||
                return Protocol.connectionLost(self, reason)
 | 
			
		||||
 | 
			
		||||
            def send(self, data):
 | 
			
		||||
                self.transport.write(data)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user