Index
All Classes and Interfaces|All Packages
A
- addData(String, String) - Method in class model.estrutura.Router
-
Adds data to the specified protocol type.
- append(String, String) - Method in class model.estrutura.ProtocolList
B
- beginTest() - Method in class controller.TestProtocols
-
Executes a comprehensive test of the Router system.
C
- controller - package controller
D
- data - Variable in class model.estrutura.Data
- data - Variable in class model.estrutura.Protocol
- Data - Class in model.estrutura
-
Represents a data node in a linked list structure.
- Data(String) - Constructor for class model.estrutura.Data
-
Constructs a new Data node with the specified string data.
- dataList - Variable in class model.estrutura.Protocol
- DataList - Class in model.estrutura
-
Represents a FIFO (First-In-First-Out) data structure implemented as a linked list.
- DataList() - Constructor for class model.estrutura.DataList
-
Constructs an empty DataList.
G
- get(String) - Method in class model.estrutura.ProtocolList
- getData() - Method in class model.estrutura.Data
-
Returns the string data stored in this node.
- getData() - Method in class model.estrutura.Protocol
-
Returns the primary data associated with this protocol.
- getDataList() - Method in class model.estrutura.Protocol
-
Returns the FIFO data list associated with this protocol.
- getLast() - Method in class model.estrutura.ProtocolList
- getNextData() - Method in class model.estrutura.Data
-
Returns the next data node in the sequence.
- getNextProtocol() - Method in class model.estrutura.Protocol
-
Returns the next protocol node in the sequence.
- getOrAddProtocol(String, String) - Method in class model.estrutura.ProtocolList
- getPreviousProtocol() - Method in class model.estrutura.Protocol
-
Returns the previous protocol node in the sequence.
- getType() - Method in class model.estrutura.Protocol
-
Returns the protocol type identifier.
H
L
- last - Variable in class model.estrutura.DataList
- last - Variable in class model.estrutura.ProtocolList
M
- main(String[]) - Static method in class view.Router
-
Main method that serves as the entry point for the Protocol Router System.
- model.estrutura - package model.estrutura
N
- newProtocolList - Variable in class model.estrutura.Router
- nextData - Variable in class model.estrutura.Data
- nextProtocol - Variable in class model.estrutura.Protocol
P
- previousProtocol - Variable in class model.estrutura.Protocol
- Protocol - Class in model.estrutura
-
Represents a protocol node in a doubly linked list structure with an embedded FIFO data queue.
- Protocol(String, String) - Constructor for class model.estrutura.Protocol
-
Constructs a new Protocol node with the specified type and data.
- ProtocolList - Class in model.estrutura
- ProtocolList() - Constructor for class model.estrutura.ProtocolList
R
- readData() - Method in class model.estrutura.DataList
-
Reads and removes the data from the beginning of the FIFO queue.
- readData(String) - Method in class model.estrutura.Router
-
Reads and removes data from the specified protocol's queue.
- remove(String) - Method in class model.estrutura.ProtocolList
- Router - Class in model.estrutura
-
Represents a router that manages multiple protocols and their associated data queues.
- Router - Class in view
-
Main entry point for the Protocol Router System application.
- Router() - Constructor for class model.estrutura.Router
-
Constructs a new Router with an empty protocol list.
- Router() - Constructor for class view.Router
S
- setData(String) - Method in class model.estrutura.Data
-
Sets the string data for this node.
- setData(String) - Method in class model.estrutura.Protocol
-
Sets the primary data for this protocol.
- setNextData(Data) - Method in class model.estrutura.Data
-
Sets the reference to the next data node in the sequence.
- setNextProtocol(Protocol) - Method in class model.estrutura.Protocol
-
Sets the reference to the next protocol node in the sequence.
- setPreviousProtocol(Protocol) - Method in class model.estrutura.Protocol
-
Sets the reference to the previous protocol node in the sequence.
- setType(String) - Method in class model.estrutura.Protocol
-
Sets the protocol type identifier.
- size - Variable in class model.estrutura.ProtocolList
- size() - Method in class model.estrutura.ProtocolList
T
- TestProtocols - Class in controller
-
Test class for demonstrating the Router functionality and protocol management system.
- TestProtocols() - Constructor for class controller.TestProtocols
-
Default constructor for TestProtocols.
- toString() - Method in class model.estrutura.Data
-
Returns a string representation of this data node.
- toString() - Method in class model.estrutura.Protocol
-
Returns a string representation of this protocol node.
- type - Variable in class model.estrutura.Protocol
V
- view - package view
W
- writeData(String) - Method in class model.estrutura.DataList
-
Writes (appends) the specified data to the end of the FIFO queue.
All Classes and Interfaces|All Packages