public interface DCCHelper
修飾子とタイプ | メソッド | 説明 |
---|---|---|
int |
acceptIncoming(int port) |
An incoming ACCEPT response
|
int |
acceptOutgoing(int port) |
An outgoing ACCEPT response
|
java.lang.String |
getB32Hostname() |
String to put in the outgoing DCC
|
byte[] |
getLocalAddress() |
Our IP address (taken from the socket), must be IPv4
|
boolean |
isEnabled() |
|
int |
newIncoming(java.lang.String b32,
int port,
java.lang.String type) |
An incoming DCC request
|
int |
newOutgoing(byte[] ip,
int port,
java.lang.String type) |
An outgoing DCC request
|
int |
resumeIncoming(int port) |
An incoming RESUME request
|
int |
resumeOutgoing(int port) |
An outgoing RESUME request
|
boolean isEnabled()
java.lang.String getB32Hostname()
byte[] getLocalAddress()
int newOutgoing(byte[] ip, int port, java.lang.String type)
ip
- local irc client IPport
- local irc client porttype
- stringint newIncoming(java.lang.String b32, int port, java.lang.String type)
b32
- remote dcc server b32 addressport
- remote dcc server I2P porttype
- stringint resumeOutgoing(int port)
port
- local DCC client tunnel portint resumeIncoming(int port)
port
- local dcc server I2P portint acceptOutgoing(int port)
port
- local irc client DCC portint acceptIncoming(int port)
port
- remote dcc server I2P port