@Deprecated public class UDPIOthread extends Object implements I2PSessionListener, Runnable
Constructor and Description |
---|
UDPIOthread(NamedDB info,
Log _log,
Socket socket,
I2PSession _session)
Deprecated.
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
disconnected(I2PSession session)
Deprecated.
required by
I2PSessionListener to notify of disconnect |
void |
errorOccurred(I2PSession session,
String message,
Throwable error)
Deprecated.
required by
I2PSessionListener to notify of error |
void |
messageAvailable(I2PSession session,
int msgId,
long size)
Deprecated.
Instruct the client that the given session has received a message with
size # of bytes.
|
void |
reportAbuse(I2PSession session,
int severity)
Deprecated.
required by
I2PSessionListener to notify of abuse |
void |
run()
Deprecated.
|
UDPIOthread(NamedDB info, Log _log, Socket socket, I2PSession _session)
info
- _log
- socket
- _session
- public void messageAvailable(I2PSession session, int msgId, long size)
I2PSessionListener
messageAvailable
in interface I2PSessionListener
session
- msgId
- size
- public void disconnected(I2PSession session)
I2PSessionListener
to notify of disconnectdisconnected
in interface I2PSessionListener
public void errorOccurred(I2PSession session, String message, Throwable error)
I2PSessionListener
to notify of errorerrorOccurred
in interface I2PSessionListener
error
- can be null? or not?public void reportAbuse(I2PSession session, int severity)
I2PSessionListener
to notify of abusereportAbuse
in interface I2PSessionListener
session
- session to report abuse toseverity
- how bad the abuse is