Added more complete javadocs to ministreaming and cleaned up overrides so

the code is JDK5 compliant. There remains some unchecked warnings, but these
aren't important at this juncture.
This commit is contained in:
sponge
2008-10-11 10:28:31 +00:00
parent f3f7537ec6
commit ca5c15d4de
13 changed files with 72 additions and 14 deletions

View File

@@ -166,6 +166,7 @@ class I2PSocketManagerImpl implements I2PSocketManager, I2PSessionListener {
return;
case DATA_IN:
sendIncoming(id, payload);
return;
case CHAFF:
// ignore
return;
@@ -423,7 +424,7 @@ class I2PSocketManagerImpl implements I2PSocketManager, I2PSessionListener {
*/
private void handleUnknown(int type, String id, byte payload[]) {
_log.error(getName() + ": \n\n=============== Unknown packet! " + "============"
+ "\nType: " + (int) type
+ "\nType: " + type
+ "\nID: " + getReadableForm(id)
+ "\nBase64'ed Data: " + Base64.encode(payload)
+ "\n\n\n");