|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdk.itu.smds.torusman.TCPServer
public class TCPServer
The Class TCPServer creates a server that listens for connection from clients and then handles packaging to and from them.
| Field Summary | |
|---|---|
int |
allowableCons
The allowable cons. |
dk.itu.smds.torusman.Connection |
connection
The out con. |
dk.itu.smds.torusman.Connection[] |
cons
The cons. |
ServerListener |
listener
The listener. |
dk.itu.smds.torusman.Connection |
outCon
The out con. |
ServerSender |
sender
The sender. |
ServerTime |
time
The time. |
| Constructor Summary | |
|---|---|
TCPServer()
Instantiates a new tCP server. |
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
The main method. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int allowableCons
public ServerListener listener
public ServerSender sender
public dk.itu.smds.torusman.Connection[] cons
public dk.itu.smds.torusman.Connection connection
public dk.itu.smds.torusman.Connection outCon
public ServerTime time
| Constructor Detail |
|---|
public TCPServer()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - the arguments
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||