diff src/main/java/com/glavsoft/rfb/encoding/decoder/DecodersContainer.java @ 26:73b13bc335c2

add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
author one
date Thu, 30 Aug 2012 16:51:46 +0900
parents e7ce2b2ffed8
children 433c79184c05
line wrap: on
line diff
--- a/src/main/java/com/glavsoft/rfb/encoding/decoder/DecodersContainer.java	Thu Aug 30 15:14:31 2012 +0900
+++ b/src/main/java/com/glavsoft/rfb/encoding/decoder/DecodersContainer.java	Thu Aug 30 16:51:46 2012 +0900
@@ -83,6 +83,10 @@
 		return decoders.get(type);
 	}
 
+	public void setDecoderByType(EncodingType type, Decoder decoder) {
+		decoders.put(type, decoder);
+	}
+	
 	public void resetDecoders() {
 		for (Decoder decoder : decoders.values()) {
 			if (decoder != null) {