|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DCCHelper
Hooks to create and maintain DCC client and server tunnels
| Method Summary | |
|---|---|
int |
acceptIncoming(int port)
An incoming ACCEPT response |
int |
acceptOutgoing(int port)
An outgoing ACCEPT response |
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(String b32,
int port,
String type)
An incoming DCC request |
int |
newOutgoing(byte[] ip,
int port,
String type)
An outgoing DCC request |
int |
resumeIncoming(int port)
An incoming RESUME request |
int |
resumeOutgoing(int port)
An outgoing RESUME request |
| Method Detail |
|---|
boolean isEnabled()
String getB32Hostname()
byte[] getLocalAddress()
int newOutgoing(byte[] ip,
int port,
String type)
ip - local irc client IPport - local irc client porttype - string
int newIncoming(String b32,
int port,
String type)
b32 - remote dcc server b32 addressport - remote dcc server I2P porttype - string
int resumeOutgoing(int port)
port - local DCC client tunnel port
int resumeIncoming(int port)
port - local dcc server I2P port
int acceptOutgoing(int port)
port - local irc client DCC port
int acceptIncoming(int port)
port - remote dcc server I2P port
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||