Changeset d6c8eb6 in java-rpg-common for Connection.java
- Timestamp:
- Aug 31, 2007, 10:28:27 PM (17 years ago)
- Branches:
- master
- Children:
- de19622
- Parents:
- 04e7260
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Connection.java
r04e7260 rd6c8eb6 1 1 import java.net.*; 2 2 import java.io.*; 3 4 /* 5 * This class serves as a basis for the threads that the other projects use to listen to incoming messages over a network. The most important 6 * method, run, initializes a connection based on the constructor arguments and calls different methods depending on the result, which could 7 * range from a successful connection, to an unsuccessful one, to one that gets interrupted later on. Any class inheriting this one simply 8 * has to extend the methods called in run and the processMessage method to customize the behavior in different situations. 9 */ 3 10 4 11 public class Connection extends Thread {
Note:
See TracChangeset
for help on using the changeset viewer.