File
Doc
Category
Size
Date
Package
BTMessageEncoder.java
API Doc
Azureus 3.0.3.4
1592
Fri Feb 16 16:30:44 GMT 2007
com.aelitis.azureus.core.peermanager.messaging.bittorrent
BTMessageEncoder
java.lang.Object
public class BTMessageEncoder extends Object implements MessageStreamEncoder
Creates legacy (i.e. traditional BitTorrent wire protocol) raw messages. NOTE: wire format: [total message length] + [message id byte] + [payload bytes]
Fields Summary
Constructors Summary
public BTMessageEncoder
()
/*nothing*/
Methods Summary
public
com.aelitis.azureus.core.networkmanager.RawMessage
[]
encodeMessage
(
Message
message)
return new RawMessage[]{ BTMessageFactory.createBTRawMessage( message )};
Java Code Source