Class InboxAttributes
- java.lang.Object
-
- com.aoindustries.aoserv.client.email.InboxAttributes
-
- All Implemented Interfaces:
Streamable,StreamReadable,StreamWritable,AOServReadable,AOServStreamable,AOServWritable
public final class InboxAttributes extends Object implements AOServStreamable
InboxAttributesstores all the details of a mail inbox.- Author:
- AO Industries, Inc.
-
-
Constructor Summary
Constructors Constructor Description InboxAttributes(long fileSize, long lastModified)InboxAttributes(AOServConnector connector, UserServer lsa)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AOServConnectorgetAOServConnector()longgetFileSize()longgetLastModified()Gets the last modified time or0Lif unknown.UserServergetLinuxServerAccount()longgetSystemTime()voidread(StreamableInput in, AoservProtocol.Version protocolVersion)voidread(StreamableInput in, String protocolVersion)Deprecated.This is maintained only for compatibility with theStreamableinterface.voidwrite(StreamableOutput out, AoservProtocol.Version protocolVersion)voidwrite(StreamableOutput out, String protocolVersion)Deprecated.This is maintained only for compatibility with theStreamableinterface.
-
-
-
Constructor Detail
-
InboxAttributes
public InboxAttributes(AOServConnector connector, UserServer lsa)
-
InboxAttributes
public InboxAttributes(long fileSize, long lastModified)
-
-
Method Detail
-
getAOServConnector
public AOServConnector getAOServConnector()
-
getLinuxServerAccount
public UserServer getLinuxServerAccount() throws IOException, SQLException
- Throws:
IOExceptionSQLException
-
getSystemTime
public long getSystemTime()
-
getFileSize
public long getFileSize()
-
getLastModified
public long getLastModified()
Gets the last modified time or0Lif unknown.
-
read
@Deprecated public void read(StreamableInput in, String protocolVersion) throws IOException
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(StreamableInput,AOServProtocol.Version)
-
read
public void read(StreamableInput in, AoservProtocol.Version protocolVersion) throws IOException
- Specified by:
readin interfaceAOServReadable- Specified by:
readin interfaceAOServStreamable- Throws:
IOException
-
write
@Deprecated public void write(StreamableOutput out, String protocolVersion) throws IOException
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(StreamableOutput,AOServProtocol.Version)
-
write
public void write(StreamableOutput out, AoservProtocol.Version protocolVersion) throws IOException
- Specified by:
writein interfaceAOServStreamable- Specified by:
writein interfaceAOServWritable- Throws:
IOException
-
-