Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
V
W
S
ServerSocket
- class mobnet.
ServerSocket
.
ServerSocket.java MobNet ServerSocket implementation
ServerSocket(int)
- Constructor for class mobnet.
ServerSocket
Constructor for ServerSocket binds the ServerSocket to the specified port
SimLauncher
- class core.
SimLauncher
.
SimLauncher initialises and starts the simulation.
SimLauncher()
- Constructor for class core.
SimLauncher
Constructor get's information from the NodeTableModel (List of applications and nodes) Starts up the Singleton Manager and then launches the applications.
SimulationPanel
- class gui.
SimulationPanel
.
SimulationPanel()
- Constructor for class gui.
SimulationPanel
Simulator
- class gui.
Simulator
.
Simulator()
- Constructor for class gui.
Simulator
SingletonManager
- class core.
SingletonManager
.
A utility class of which at most one instance can exist per VM.
SockHost
- class primitive.
SockHost
.
SockHost.java This class encapsulates a Socket into an Object which gives easy access to its destination IP address and port.
SockHost(Socket, int, String)
- Constructor for class primitive.
SockHost
Contstructor for class SockHost which takes the Socket to be represented the port of the Socket and the destination IP of the Socket.
Socket
- class mobnet.
Socket
.
Socket.java MobNet implementation of java.net.Socket NOT FULLY IMPLEMENTED
Socket(int, String)
- Constructor for class mobnet.
Socket
Constructor for Socket class.
Socket(int, String, boolean)
- Constructor for class mobnet.
Socket
This constuctor is called by a server in order to set up a reciprical Socket to the client.
SocketTimer
- class mobnet.
SocketTimer
.
SocketTimer.java SocketTimer is used to implement timeouts when reading from a Socket
SocketTimer(int, InputStream)
- Constructor for class mobnet.
SocketTimer
Constructor for SocketTimer
SpringUtilities
- class gui.
SpringUtilities
.
A 1.4 file that provides utility methods for creating form- or grid-style layouts with SpringLayout.
SpringUtilities()
- Constructor for class gui.
SpringUtilities
StartOptions
- class core.
StartOptions
.
StartOptions()
- Constructor for class core.
StartOptions
send(Object, String)
- Method in class
MobNetThread
send(Packet)
- Method in class
MobNetThread
send(Object, String)
- Method in class mobnet.
MobNet
send(Packet)
- Method in class mobnet.
MobNet
Insert packet into the Virtual Network.
setBuffer(String, Buffer)
- Method in class core.
SingletonManager
Set input buffer for a node.
setBytes(byte[])
- Method in class mobnet.
InputStream
Add a byte array into the internal byte array which stores the bytes that have been 'recieved' by this node.
setDestIP(String)
- Method in class primitive.
Node
setIP(String)
- Method in class core.
VisualNode
Set the IP Address of this VisualNode
setIP(String)
- Method in class gui.
NodeInfoModel
setIP(String)
- Method in class primitive.
Buffer
A Buffer can be bound to an IP address in order to aid Debugging
setIcon(ImageIcon)
- Method in class gui.
NodeInfoModel
setPayload(byte[])
- Method in class primitive.
Packet
Method to set the data payload in a packet.
setReady()
- Method in class mobnet.
Socket
Called by a ServerSocket when it has finished instantiating the reciprocal Socket to the client.
setServerSocket(ServerSocket)
- Method in class
MobNetThread
setServerSocket(ServerSocket)
- Method in class mobnet.
MobNet
Insert the ServerSocket into the ArrayList register of ServerSockets.
setServerSockets(String, ArrayList)
- Method in class core.
SingletonManager
Used to provide the Singelton Manager with a reference to the ServerSockets of a node.
setSoTimeout(int)
- Method in class mobnet.
Socket
Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds.
setSocket(Socket, int)
- Method in class
MobNetThread
setSocket(Socket, int, String)
- Method in class mobnet.
MobNet
Insert the Socket into the ArrayList register of Sockets.
setSockets(String, ArrayList)
- Method in class core.
SingletonManager
Used to provide the SingletonManager with a reference to the Sockets of a node.
setString(String)
- Method in class
testReference
setTimeout()
- Method in class mobnet.
InputStream
setTimeouttime(int)
- Method in class mobnet.
InputStream
Set the timeout to be used for this InputStream.
setTimer(int)
- Method in class mobnet.
SocketTimer
Set the length of the timeout
setToX(int)
- Method in class core.
VisualNode
Set the x co-ordinate to which this node is heading.
setToY(int)
- Method in class core.
VisualNode
Set the y co-ordinate to which this node is heading.
setValueAt(Object, int, int)
- Method in class gui.
NodeTableModel
setX(int)
- Method in class core.
VisualNode
Set the current X co-ordinate of this node.
setX(String)
- Method in class gui.
NodeInfoModel
setY(int)
- Method in class core.
VisualNode
Set the current Y co-ordinate of this node.
setY(String)
- Method in class gui.
NodeInfoModel
setappClass(String)
- Method in class gui.
NodeInfoModel
setupServerSocket(String, int, Socket)
- Method in class core.
SingletonManager
This method is used to create a connection to a ServerSocket from a client.
size()
- Method in class primitive.
Buffer
The current size of the buffer.
skip(int)
- Method in class mobnet.
InputStream
Skips over and discards n bytes of data from this input stream.
socket
- Static variable in class
TCPChat
startSim()
- Method in class gui.
SimulationPanel
startTimer()
- Method in class mobnet.
SocketTimer
Start the timer.
startapp()
- Method in class
ChatApp
startapp()
- Method in class
ChatAppCrude
startup()
- Method in class
ChatApp
startup()
- Method in class
ChatAppCrude
statusBar
- Static variable in class
TCPChat
statusColor
- Static variable in class
TCPChat
statusField
- Static variable in class
TCPChat
statusMessages
- Static variable in class
TCPChat
statusString
- Static variable in class
TCPChat
step()
- Method in class core.
VisualNode
Increment the x and y positions according to position to which they are heading.
stopSim()
- Method in class gui.
SimulationPanel
switchtoNodeTable()
- Method in class gui.
NodePanel
switchtoaddNode()
- Method in class gui.
NodePanel
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
V
W