|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectservlet.Connection
public class Connection
This class keeps information about the open communications.
| Field Summary | |
|---|---|
User |
name
|
PeerInterface |
pi
|
PeerCommunication |
ti
|
| Constructor Summary | |
|---|---|
Connection(User name,
PeerCommunication ti,
PeerInterface pi)
The constructor |
|
| Method Summary | |
|---|---|
void |
closeConnection()
This method closes the connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public User name
public PeerInterface pi
public PeerCommunication ti
| Constructor Detail |
|---|
public Connection(User name,
PeerCommunication ti,
PeerInterface pi)
name - the userti - the communications threadpi - the graphic interface| Method Detail |
|---|
public void closeConnection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||