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 TypeMethodDescriptionlonglongGets the last modified time or0Lif unknown.longvoidread(StreamableInput in, AoservProtocol.Version protocolVersion) voidread(StreamableInput in, String protocolVersion) Deprecated.voidwrite(StreamableOutput out, AoservProtocol.Version protocolVersion) voidwrite(StreamableOutput out, String protocolVersion) Deprecated.This is maintained only for compatibility with theStreamableinterface.
-
Constructor Details
-
InboxAttributes
-
InboxAttributes
public InboxAttributes(long fileSize, long lastModified)
-
-
Method Details
-
getAoservConnector
-
getLinuxServerAccount
- Throws:
IOExceptionSQLException
-
getSystemTime
public long getSystemTime() -
getFileSize
public long getFileSize() -
getLastModified
public long getLastModified()Gets the last modified time or0Lif unknown. -
read
Deprecated.This is maintained only for compatibility with theStreamableinterface.- Specified by:
readin interfaceAoservStreamable- Specified by:
readin interfaceStreamable- Specified by:
readin interfaceStreamReadable- Throws:
IOException- See Also:
-
read
- Specified by:
readin interfaceAoservReadable- Specified by:
readin interfaceAoservStreamable- Throws:
IOException
-
write
Deprecated.This is maintained only for compatibility with theStreamableinterface.- Specified by:
writein interfaceAoservStreamable- Specified by:
writein interfaceStreamable- Specified by:
writein interfaceStreamWritable- Throws:
IOException- See Also:
-
write
- Specified by:
writein interfaceAoservStreamable- Specified by:
writein interfaceAoservWritable- Throws:
IOException
-

Streamableinterface.