com.aelitis.azureus.core.peermanager.messaging.bittorrent.ltep
Class LTMessageDecoder
java.lang.Object
com.aelitis.azureus.core.peermanager.messaging.bittorrent.BTMessageDecoder
com.aelitis.azureus.core.peermanager.messaging.bittorrent.ltep.LTMessageDecoder
- All Implemented Interfaces:
- MessageStreamDecoder
public class LTMessageDecoder
- extends BTMessageDecoder
- Author:
- Allan Crooks
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LTMessageDecoder
public LTMessageDecoder()
addDefaultExtensionHandler
public static void addDefaultExtensionHandler(long id,
byte[] message_id)
removeDefaultExtensionHandler
public static void removeDefaultExtensionHandler(long id)
createMessage
protected Message createMessage(DirectByteBuffer ref_buff)
throws MessageException
- Overrides:
createMessage
in class BTMessageDecoder
- Throws:
MessageException
addExtensionHandler
public void addExtensionHandler(byte id,
byte[] message_id)
removeExtensionHandler
public void removeExtensionHandler(byte id)