Changeset d6c8eb6 in java-rpg-common


Ignore:
Timestamp:
Aug 31, 2007, 10:28:27 PM (17 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
de19622
Parents:
04e7260
Message:

[svn r28]

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Client.java

    r04e7260 rd6c8eb6  
    11import java.io.*;
    22import java.util.*;
     3
     4/*
     5 * An instance of this class should exist for every player that is online. THe PrintWriter is used to send messages to the player and the
     6 * Calender stores when he logged on.
     7 */
    38
    49public class Client {
  • Connection.java

    r04e7260 rd6c8eb6  
    11import java.net.*;
    22import 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 */
    310
    411public class Connection extends Thread {
  • Player.java

    r04e7260 rd6c8eb6  
     1
     2/*
     3 * This class contains most of the information about a player and an instance should exist for every registered player, whether or not he
     4 * is online.
     5 */
    16
    27public class Player implements Comparable<Player> {
Note: See TracChangeset for help on using the changeset viewer.