01: // Copyright (C) 2003,2004,2005 by Object Mentor, Inc. All rights reserved.
02: // Released under the terms of the GNU General Public License version 2 or later.
03: package fitnesse.testutil;
04:
05: import fitnesse.responders.run.*;
06: import java.net.Socket;
07:
08: public class SimpleSocketSeeker implements SocketSeeker {
09: public SocketDoner doner;
10: public Socket socket;
11:
12: public void acceptSocketFrom(SocketDoner doner) throws Exception {
13: this.doner = doner;
14: this.socket = doner.donateSocket();
15: }
16: }
|