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