Class InboxAttributes
java.lang.Object
com.aoindustries.aoserv.client.email.InboxAttributes
- All Implemented Interfaces:
Streamable
,StreamReadable
,StreamWritable
,AoservReadable
,AoservStreamable
,AoservWritable
InboxAttributes
stores all the details of a mail inbox.- Author:
- AO Industries, Inc.
-
Constructor Summary
ConstructorsConstructorDescriptionInboxAttributes
(long fileSize, long lastModified) InboxAttributes
(AoservConnector connector, UserServer lsa) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
Gets the last modified time or0L
if unknown.long
void
read
(StreamableInput in, AoservProtocol.Version protocolVersion) void
read
(StreamableInput in, String protocolVersion) Deprecated.void
write
(StreamableOutput out, AoservProtocol.Version protocolVersion) void
write
(StreamableOutput out, String protocolVersion) Deprecated.This is maintained only for compatibility with theStreamable
interface.
-
Constructor Details
-
InboxAttributes
-
InboxAttributes
public InboxAttributes(long fileSize, long lastModified)
-
-
Method Details
-
getAoservConnector
-
getLinuxServerAccount
- Throws:
IOException
SQLException
-
getSystemTime
public long getSystemTime() -
getFileSize
public long getFileSize() -
getLastModified
public long getLastModified()Gets the last modified time or0L
if unknown. -
read
Deprecated.This is maintained only for compatibility with theStreamable
interface.- Specified by:
read
in interfaceAoservStreamable
- Specified by:
read
in interfaceStreamable
- Specified by:
read
in interfaceStreamReadable
- Throws:
IOException
- See Also:
-
read
- Specified by:
read
in interfaceAoservReadable
- Specified by:
read
in interfaceAoservStreamable
- Throws:
IOException
-
write
Deprecated.This is maintained only for compatibility with theStreamable
interface.- Specified by:
write
in interfaceAoservStreamable
- Specified by:
write
in interfaceStreamable
- Specified by:
write
in interfaceStreamWritable
- Throws:
IOException
- See Also:
-
write
- Specified by:
write
in interfaceAoservStreamable
- Specified by:
write
in interfaceAoservWritable
- Throws:
IOException
-
Streamable
interface.