A C D F G M O P S U

A

addUser() - Method in class c408h006.Connection
Adds a new user to the list of users using this connection and returns that user's ID.

C

Command - class c408h006.Command.
A command sent to modify a file within the OmniEdtior system.
Command() - Constructor for class c408h006.Command
Default constructor.
Command(int, String, String, int, String) - Constructor for class c408h006.Command
Constructs an instance of this class.
Connection - class c408h006.Connection.
Connection to a file within the OmniEditor System.
Connection(String) - Constructor for class c408h006.Connection
Constructs an instance of this class.
Connections - class c408h006.Connections.
Connections maintains a list of Connection objects.
Connections() - Constructor for class c408h006.Connections
Contructs an instance of this class.
c408h006 - package c408h006
 

D

disConnect(int) - Method in class c408h006.Connection
Disconnect a User from the OmniEditor system.
disConnect(int, String) - Method in class c408h006.Connections
Disconnect a User from the OmniEditor system, if that User is the last User connected to the file, the Connection to the file will be removed.
disConnect(int, String) - Method in class c408h006.OmniEditor
Disconnect a User from the OmniEditor system.
download(Command) - Method in class c408h006.Connection
Save the file to the WebService.

F

FileState - class c408h006.FileState.
A representation of the current state of the file.
FileState() - Constructor for class c408h006.FileState
Default constructor.
FileState(Vector, String) - Constructor for class c408h006.FileState
Constructs an instance of this class.

G

getCommand() - Method in class c408h006.Command
Returns the name of the command to be performed on the file.
getConnection(String) - Method in class c408h006.Connections
Returns the Connections associated with the specified file.
getConnections() - Static method in class c408h006.Connections
Returns the static instance of this class.
getFile() - Method in class c408h006.Command
Returns the file associated with the command being sent.
getFile() - Method in class c408h006.FileState
Return the file being formatted by the Users.
getFileName() - Method in class c408h006.Command
Returns the name of the file the command is being sent to.
getFileName() - Method in class c408h006.Connection
Returns the name of the file that this connection is linked to.
getFileState(int) - Method in class c408h006.Connection
Return the current state of the file.
getFileState(int, String) - Method in class c408h006.Connections
Return the current state of the file.
getFileState(int, String) - Method in class c408h006.OmniEditor
Return the current state of the file.
getID() - Method in class c408h006.Command
Returns the ID of the User sending the command.
getID() - Method in class c408h006.User
Returns the user's ID.
getMarkActive() - Method in class c408h006.User
Returns true if the user has completed making a selection in the file.
getMarkedPos() - Method in class c408h006.User
Returns the user's current marked position for the beginning of a selection within the file (-1 if no position is marked).
getPosition() - Method in class c408h006.Command
Returns a position within the file relating to the command being sent.
getPosition() - Method in class c408h006.User
Returns the user's current position within the file (-1 if the user has not specified a position).
getSelectionEnd() - Method in class c408h006.User
Returns the user's current marked position for the end of a selection within the file (-1 if no selection end position is marked.
getUsers() - Method in class c408h006.FileState
Return the list of Users using the file.

M

makeConnection(String) - Method in class c408h006.Connections
Returns the user's ID when a connection to a file has been established.
makeConnection(String) - Method in class c408h006.OmniEditor
Establishes a connection to a file specified by the user.
mark(Command) - Method in class c408h006.Connection
Mark the current position with the file.
move(Command) - Method in class c408h006.Connection
Move the user's cursor position.

O

OmniEditor - class c408h006.OmniEditor.
OmniEditor allows multiple users access to shared data.
OmniEditor() - Constructor for class c408h006.OmniEditor
Constructs an instance of this class.

P

performCommand(Command) - Method in class c408h006.Connection
Performs the necessary action on the file as requested by the user and returns a string message which indicates whether the action was performed succesfully.

S

select(Command) - Method in class c408h006.Connection
Selects a block of text specified from the mark position to end position specified by the user.
sendCommand(Command) - Method in class c408h006.Connections
Passes the command to the appropriate connection so that it can be performed on the correct file.
sendCommand(Command) - Method in class c408h006.OmniEditor
Send the command to be performed on the file to appropriate Connection.
setMarkedPos(int) - Method in class c408h006.User
Set the position the user has specified to be marked for the beginning of a selection within the file.
setPosition(int) - Method in class c408h006.User
Set the position of the user's cursor within the file.
setSelectionEnd(int) - Method in class c408h006.User
Set the position which marks the end of a text selection within the file.

U

User - class c408h006.User.
A user editing a file in the OmniEditor system.
User(int) - Constructor for class c408h006.User
Constructs an instance of this class.
upload(Command) - Method in class c408h006.Connection
Opens the file for use for editing.

A C D F G M O P S U