|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--proxy
proxy class -- implements a proxy server to redirect network access
Constructor Summary | |
proxy(int lport,
java.lang.String raddr,
int rport)
Create a server socket and start listening on the local port. |
Method Summary | |
static void |
main(java.lang.String[] args)
This method is called when the application is run on the commandline. |
void |
run()
Cycle around until an error occurs and wait for incoming connections. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public proxy(int lport, java.lang.String raddr, int rport)
lport
- local portraddr
- address of the destinationrport
- port on the destination hostMethod Detail |
public static void main(java.lang.String[] args)
args
- The command line argumentspublic void run()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |