Serialized Form


Package net.sf.cscc

Class net.sf.cscc.CsccException implements Serializable

Class net.sf.cscc.DataEvent implements Serializable

Serialized Fields

clientId

java.lang.Object clientId
This variable refers to the object identifying the sender client uniquely.

data

java.lang.Object data
This field refers to the data which is encapsulated in this DataEvent.

eventKey

java.lang.Object eventKey
This variable stores a key which identifies the event uniquely. This key can be any object and helps the user to determine which kind of data is encapsulated in this DataEvent object.


Package net.sf.cscc.examples.chatsystem

Class net.sf.cscc.examples.chatsystem.ChatClient implements Serializable

Serialized Fields

clientConnectionManager

ClientConnectionManager clientConnectionManager
Client connection manager, handles the connection to the server.

connectButton

javax.swing.JButton connectButton
Button to connect to the server.

connected

boolean connected
Status of the connection (connected or not connected).

messageArea

javax.swing.JTextArea messageArea
TextArea to dispplay the messages of the chat session.

messageField

javax.swing.JTextField messageField
TextField for entering a message to send.

nickname

java.lang.String nickname
Name to appear in the chat session.

nicknameField

javax.swing.JTextField nicknameField
Textfield for entering the name to appear in the chat session.

port

int port
TCP port of the connection.

sendButton

javax.swing.JButton sendButton
Button to send the message.

serverField

javax.swing.JTextField serverField
TextField for DNS name or IP address of the server.

Class net.sf.cscc.examples.chatsystem.ChatServer implements Serializable

Serialized Fields

messageArea

javax.swing.JTextArea messageArea
TextArea to dispplay the messages of the chat session.

portNumber

int portNumber
Specifies the TCP port to listen for connections.

serverAddress

java.net.InetAddress serverAddress
IP adress of the server.

serverBar

javax.swing.JTextField serverBar
TextField to show the address of the server.

serverConnectionManager

ServerConnectionManager serverConnectionManager
The server connection manager which handles the communication with the clients.

statusBar

javax.swing.JTextField statusBar
TextField to show status informations about the connections.


Package net.sf.cscc.examples.simplesystem

Class net.sf.cscc.examples.simplesystem.Client implements Serializable

Serialized Fields

age

javax.swing.JTextField age
Textfield for entering the age of the person.

ageLabel

javax.swing.JLabel ageLabel
Label describing the age field.

bottomPanel

javax.swing.JPanel bottomPanel
Bottom panel to structure the output screen.

clientConnectionManager

ClientConnectionManager clientConnectionManager
Client connection manager, handles the connection to the server.

connect

javax.swing.JButton connect
Button for connecting to server.

connected

boolean connected
Bottom panel to structure the output screen.

firstName

javax.swing.JTextField firstName
Textfield for entering the last name

firstNameLabel

javax.swing.JLabel firstNameLabel
Label indicating the textfield for entering the first name.

lastName

javax.swing.JTextField lastName
Textfield for entering the last name

lastNameLabel

javax.swing.JLabel lastNameLabel
Label indicating the textfield for entering the last name.

leftPanel

javax.swing.JPanel leftPanel
Left panel to structure the output screen.

messageScroller

javax.swing.JScrollPane messageScroller
Scroll panel for scrolling within the text area.

port

javax.swing.JTextField port
Textfield for entering the TCP/IP port number.

portLabel

javax.swing.JLabel portLabel
Label indicating the textfield for entering the port number.

rightPanel

javax.swing.JPanel rightPanel
Right panel to structure the output screen.

send

javax.swing.JButton send
Button for start the sending of data.

server

javax.swing.JTextField server
Textfield for entering the destination server.

serverLabel

javax.swing.JLabel serverLabel
Label indicating the textfield for entering the the server name.

serverMessages

javax.swing.JTextArea serverMessages
Textarea which shows messages about all the events that occur.

serverMessagesLabel

javax.swing.JLabel serverMessagesLabel
Label describing the message text area field.

status

javax.swing.JLabel status
Status label

statusLabel

javax.swing.JLabel statusLabel
Label describing the status label
See Also
Client.status

Class net.sf.cscc.examples.simplesystem.PersonalInformation implements Serializable

Serialized Fields

age

int age
Encapsulates the age of the person.

firstName

java.lang.String firstName
Encapsulates the first name of the person.

lastName

java.lang.String lastName
Encapsulates the last name of the person.

Class net.sf.cscc.examples.simplesystem.Server implements Serializable

Serialized Fields

beginListening

javax.swing.JButton beginListening
Button for starting the listening process.

clientList

javax.swing.JList clientList
List which shows the identification number of all clients.

clientListLabel

javax.swing.JLabel clientListLabel
Label indicating the list of clients.

clientMessages

javax.swing.JTextArea clientMessages
Textarea which is used to show all the messages which occur.

clientMessagesLabel

javax.swing.JLabel clientMessagesLabel
Label which indicates the message box.

clients

java.util.Vector clients
This vector provides a list of clients. The list of clients consists of {@link java.lang.Integer} objects

disconnect

javax.swing.JButton disconnect
Button for disconnecting one client.

disconnectAll

javax.swing.JButton disconnectAll
Button for disconnecting all clients.

listening

boolean listening
This flag indicates if the server application is currently listening for incoming connections.

messagesScroller

javax.swing.JScrollPane messagesScroller
Message scroller used for the textarea used for displaing messages from the clients and the communicaiton.

panelLeft

javax.swing.JPanel panelLeft
Left side panel, which contains information about connected clients.

panelRightBottom

javax.swing.JPanel panelRightBottom
Contains data about listening for TCP/IP connections.

panelRightTop

javax.swing.JPanel panelRightTop
Right panel contains information about

port

javax.swing.JTextField port
Textfield for entering the port number.

portLabel

javax.swing.JLabel portLabel
Label which indicates the textfield for entering the port number.

serverConnectionManager

ServerConnectionManager serverConnectionManager
The server connection manager which handles the communication with the clients.


Package net.sf.cscc.test

Class net.sf.cscc.test.Message1 implements Serializable

Serialized Fields

clientID

java.lang.Object clientID

data

java.lang.Object data

eventKey

java.lang.Object eventKey

messageID

int messageID

vectorData

java.util.Vector vectorData

Class net.sf.cscc.test.Message3 implements Serializable

Serialized Fields

a

int[] a

b

int[] b

c

int[] c

clientID

java.lang.Object clientID

data

java.lang.Object data

eventKey

java.lang.Object eventKey

messageID

int messageID

vectorData

java.util.Vector vectorData

Class net.sf.cscc.test.Message4 implements Serializable

Serialized Fields

a

int[] a

b

int[] b

c

int[] c

clientID

java.lang.Object clientID

data

java.lang.Object data

eventKey

java.lang.Object eventKey

messageID

int messageID

vectorData

java.util.Vector vectorData

Class net.sf.cscc.test.Message5 implements Serializable

Serialized Fields

a

int[] a

b

int[] b

c

int[] c

clientID

java.lang.Object clientID

data

java.lang.Object data

eventKey

java.lang.Object eventKey

messageID

int messageID

vectorData

java.util.Vector vectorData

Class net.sf.cscc.test.Message6 implements Serializable

Serialized Fields

a

int[] a

b

int[] b

c

int[] c

clientID

java.lang.Object clientID

d

int[] d

data

java.lang.Object data

e

int[] e

eventKey

java.lang.Object eventKey

f

int[] f

messageID

int messageID

vectorData

java.util.Vector vectorData



Copyright © 2003, Silvio Meier and Tobias Reinhard. All Rights Reserved.