gateway
Class ServerFTP
java.lang.Object
|
+--gateway.ServerFTP
- public class ServerFTP
- extends Object
It is the Main-Class of the Gateway agent.
It Acceps sockets connectons from remote clients to permit file transfer.
- See Also:
Server
,
NOTE: it does not accept the JAR if there is another JAR with
the same name in the pool of agents.
Method Summary |
static void |
main(String[] args)
Starts the Gateway agent |
void |
run()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SERVER_PORT
public static final int SERVER_PORT
- Port number.
The Gateway acceps sockets connectons from remote clients through this port number.
ServerFTP
public ServerFTP()
run
public void run()
throws Throwable
main
public static void main(String[] args)
throws Throwable,
Exception
- Starts the Gateway agent