Update of /cvsroot/beepcore-java/beepcore-java/example/org/beepcore/beep/example
In directory usw-pr-cvs1:/tmp/cvs-serv8025/example/org/beepcore/beep/example
Modified Files:
Beepd.java Bing.java
Log Message:
Removed AutomatedTCPSessionCreator
Index: Beepd.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/example/org/beepcore/beep/example/Beepd.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** Beepd.java 2001/10/31 00:08:45 1.5
--- Beepd.java 2001/10/31 02:03:41 1.6
***************
*** 38,42 ****
import org.beepcore.beep.profile.Profile;
import org.beepcore.beep.profile.ProfileConfiguration;
! import org.beepcore.beep.transport.tcp.AutomatedTCPSessionCreator;
import org.beepcore.beep.util.ConsoleLog;
import org.beepcore.beep.util.Log;
--- 38,42 ----
import org.beepcore.beep.profile.Profile;
import org.beepcore.beep.profile.ProfileConfiguration;
! import org.beepcore.beep.transport.tcp.TCPSessionCreator;
import org.beepcore.beep.util.ConsoleLog;
import org.beepcore.beep.util.Log;
***************
*** 215,219 ****
// Loop listening for new Sessions
while (true) {
! AutomatedTCPSessionCreator.listen(port, reg);
}
} catch (Exception e) {
--- 215,219 ----
// Loop listening for new Sessions
while (true) {
! TCPSessionCreator.listen(port, reg);
}
} catch (Exception e) {
Index: Bing.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/example/org/beepcore/beep/example/Bing.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** Bing.java 2001/10/31 00:32:37 1.4
--- Bing.java 2001/10/31 02:03:41 1.5
***************
*** 29,33 ****
import org.beepcore.beep.profile.echo.EchoProfile;
import org.beepcore.beep.profile.tls.TLSProfile;
! import org.beepcore.beep.transport.tcp.AutomatedTCPSessionCreator;
import org.beepcore.beep.transport.tcp.TCPSession;
import org.beepcore.beep.util.ConsoleLog;
--- 29,33 ----
import org.beepcore.beep.profile.echo.EchoProfile;
import org.beepcore.beep.profile.tls.TLSProfile;
! import org.beepcore.beep.transport.tcp.TCPSessionCreator;
import org.beepcore.beep.transport.tcp.TCPSession;
import org.beepcore.beep.util.ConsoleLog;
***************
*** 62,68 ****
// a empty ProfileRegistry is used since this application
// isn't intended to listen for start channel requests.
! session =
! AutomatedTCPSessionCreator.initiate(host, port,
! new ProfileRegistry());
} catch (BEEPException e) {
System.err.println("bing: Error connecting to " + host + ":" +
--- 62,67 ----
// a empty ProfileRegistry is used since this application
// isn't intended to listen for start channel requests.
! session = TCPSessionCreator.initiate(host, port,
! new ProfileRegistry());
} catch (BEEPException e) {
System.err.println("bing: Error connecting to " + host + ":" +
|