11 lines
		
	
	
		
			246 B
		
	
	
	
		
			Haxe
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			246 B
		
	
	
	
		
			Haxe
		
	
	
	
	
	
|  | package kha.netsync; | ||
|  | 
 | ||
|  | import haxe.io.Bytes; | ||
|  | 
 | ||
|  | interface Client { | ||
|  | 	var id(get, null): Int; | ||
|  | 	function send(bytes: Bytes, mandatory: Bool): Void; | ||
|  | 	function receive(receiver: Bytes->Void): Void; | ||
|  | 	function onClose(close: Void->Void): Void; | ||
|  | } |