java.lang.Runnable
, I2PSessionListener
@Deprecated public class UDPIOthread extends java.lang.Object implements I2PSessionListener, java.lang.Runnable
コンストラクタ | 説明 |
---|---|
UDPIOthread(NamedDB info,
Log _log,
java.net.Socket socket,
I2PSession _session) |
推奨されていません。
Constructor
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
disconnected(I2PSession session) |
推奨されていません。
required by
I2PSessionListener to notify of disconnect |
void |
errorOccurred(I2PSession session,
java.lang.String message,
java.lang.Throwable error) |
推奨されていません。
required by
I2PSessionListener to notify of error |
void |
messageAvailable(I2PSession session,
int msgId,
long size) |
推奨されていません。
Instruct the client that the given session has received a message with
size # of bytes.
|
void |
reportAbuse(I2PSession session,
int severity) |
推奨されていません。
required by
I2PSessionListener to notify of abuse |
void |
run() |
推奨されていません。
|
UDPIOthread(NamedDB info, Log _log, java.net.Socket socket, I2PSession _session)
info
- _log
- socket
- _session
- public void run()
run
インタフェース内 java.lang.Runnable
public void messageAvailable(I2PSession session, int msgId, long size)
I2PSessionListener
messageAvailable
インタフェース内 I2PSessionListener
session
- msgId
- size
- public void disconnected(I2PSession session)
I2PSessionListener
to notify of disconnectdisconnected
インタフェース内 I2PSessionListener
public void errorOccurred(I2PSession session, java.lang.String message, java.lang.Throwable error)
I2PSessionListener
to notify of errorerrorOccurred
インタフェース内 I2PSessionListener
error
- can be null? or not?public void reportAbuse(I2PSession session, int severity)
I2PSessionListener
to notify of abusereportAbuse
インタフェース内 I2PSessionListener
session
- session to report abuse toseverity
- how bad the abuse is