Package messages
Class AuthMessage
java.lang.Object
messages.AbstractMessage
messages.AuthMessage
- All Implemented Interfaces:
Serializable
The successor class
AbstractMessage,
is a Data Transfer Object, carrying the user's login and
password to the server, and upon successful authorization
contains contains a list of files in the cloud.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAuthMessage(String loginUser, String passUser) The constructor used on the client side to fill in the login and password.AuthMessage(String loginUser, List<FileInfo> listFiles) A constructor used on the server side to respond with a populated list of objects describing files in the cloud. -
Method Summary
-
Field Details
-
loginUser
User login. -
passUser
The user's password. -
listFiles
A list of objects describing files on the server.- See Also:
-
-
Constructor Details
-
AuthMessage
The constructor used on the client side to fill in the login and password.- Parameters:
loginUser- user login.passUser- the user's password.
-
AuthMessage
A constructor used on the server side to respond with a populated list of objects describing files in the cloud.- Parameters:
loginUser- user login.listFiles- list of files in the cloud.
-
-
Method Details
-
getListFiles
-