|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrero.dcc.GenericDCC
rero.dcc.ListenDCC
public class ListenDCC
Field Summary | |
---|---|
protected static int |
offset
|
protected java.net.ServerSocket |
server
|
protected static int |
timeout
|
Fields inherited from class rero.dcc.GenericDCC |
---|
fw, impl |
Constructor Summary | |
---|---|
ListenDCC()
|
Method Summary | |
---|---|
java.net.Socket |
establishConnection()
|
int |
getListenerPort()
instructs the class to listen for a connection on some port, returns the port as an integer. |
static int |
getNextPort()
|
Methods inherited from class rero.dcc.GenericDCC |
---|
announceFramework, connect, getImplementation, getNickname, getState, getTypeOfDCC, run, setImplementation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.net.ServerSocket server
protected static int offset
protected static int timeout
Constructor Detail |
---|
public ListenDCC()
Method Detail |
---|
public static int getNextPort()
public int getListenerPort()
public java.net.Socket establishConnection()
establishConnection
in class GenericDCC
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |