Beispiel #1
0
 public void passivateObject(Object obj) throws Exception {
   FTPClient client = (FTPClient) obj;
   client.setReaderThread(false);
 }
Beispiel #2
0
 public void activateObject(Object obj) throws Exception {
   FTPClient client = (FTPClient) obj;
   client.setReaderThread(true);
 }