# Serialized Form

- ## Package org.apache.commons.net

  - ### Exception Class org.apache.commons.net.MalformedServerReplyException

    class MalformedServerReplyException extends IOException implements Serializable
    serialVersionUID:
      6006765264250543945L

  - ### Class org.apache.commons.net.ProtocolCommandEvent

    class ProtocolCommandEvent extends EventObject implements Serializable
    serialVersionUID:
      403743538418947240L

    - #### Serialized Fields

      - ##### command

            String command

        The string representation of the command type sent, not including the arguments (e.g., "STAT" or "GET").

      - ##### isCommand

            boolean isCommand

        Whether the ProtocolCommandEvent was generated as a result of sending a command.

      - ##### message

            String message

        The entire reply as received from the server.

      - ##### replyCode

            int replyCode

        The integer code indicating the natureof the reply. This will be the protocol integer value for protocols that use integer reply codes, or the reply class constant corresponding to the reply for protocols like POP3 that use strings like OK rather than integer codes (i.e., POP3Repy.OK).

  - ### Class org.apache.commons.net.ProtocolCommandSupport

    class ProtocolCommandSupport extends Object implements Serializable
    serialVersionUID:
      -8017692739988399978L

    - #### Serialization Methods

      - ##### readObject

        private void readObject(ObjectInputStream ignored)
        Throws UnsupportedOperationException.
        Parameters:
          `ignored` - Ignored.

      - ##### writeObject

        private void writeObject(ObjectOutputStream ignored)
        Always throws `UnsupportedOperationException`.
        Parameters:
          `ignored` - ignored.
        Throws:
          `UnsupportedOperationException` - Always thrown.

    - #### Serialized Fields

      - ##### listeners

            ListenerList<ProtocolCommandListener> listeners

        The ProtocolCommandListener.

      - ##### source

            Object source

        The source to use for all generated ProtocolCommandEvents.

- ## Package org.apache.commons.net.ftp

  - ### Exception Class org.apache.commons.net.ftp.FTPConnectionClosedException

    class FTPConnectionClosedException extends IOException implements Serializable
    serialVersionUID:
      3500547241659379952L

  - ### Class org.apache.commons.net.ftp.FTPFile

    class FTPFile extends Object implements Serializable
    serialVersionUID:
      9010790363003271996L

    - #### Serialization Methods

      - ##### readObject

        private void readObject(ObjectInputStream ignored)
        Throws UnsupportedOperationException.
        Parameters:
          `ignored` - Ignored.

      - ##### writeObject

        private void writeObject(ObjectOutputStream ignored)
        Always throws `UnsupportedOperationException`.
        Parameters:
          `ignored` - ignored.
        Throws:
          `UnsupportedOperationException` - Always thrown.

    - #### Serialized Fields

      - ##### calendar

            Calendar calendar

        TODO Consider changing internal representation to java.time.

      - ##### group

            String group

        Group.

      - ##### hardLinkCount

            int hardLinkCount

        0 is invalid as a link count.

      - ##### link

            String link

        Link.

      - ##### name

            String name

        Name.

      - ##### permissions

            boolean[][] permissions

        If this is null, then list entry parsing failed.

      - ##### rawListing

            String rawListing

        Line that could not be parsed.

      - ##### size

            long size

        0 is valid, so use -1.

      - ##### type

            int type

        Type.

      - ##### user

            String user

        User.

- ## Package org.apache.commons.net.ftp.parser

  - ### Exception Class org.apache.commons.net.ftp.parser.ParserInitializationException

    class ParserInitializationException extends RuntimeException implements Serializable
    serialVersionUID:
      5563335279583210658L

- ## Package org.apache.commons.net.io

  - ### Class org.apache.commons.net.io.CopyStreamEvent

    class CopyStreamEvent extends EventObject implements Serializable
    serialVersionUID:
      -964927635655051867L

    - #### Serialized Fields

      - ##### bytesTransferred

            int bytesTransferred

        The number of bytes transferred during the write that triggered the CopyStreamEvent.

      - ##### streamSize

            long streamSize

        The number of bytes in the stream being copied. This may be set to `UNKNOWN_STREAM_SIZE` if the size is unknown.

      - ##### totalBytesTransferred

            long totalBytesTransferred

        The total number of bytes transferred so far during a copy operation.

  - ### Exception Class org.apache.commons.net.io.CopyStreamException

    class CopyStreamException extends IOException implements Serializable
    serialVersionUID:
      -2602899129433221532L

    - #### Serialized Fields

      - ##### totalBytesTransferred

            long totalBytesTransferred

        The total number of bytes confirmed to have been transferred by a failed copy operation.

- ## Package org.apache.commons.net.nntp

  - ### Exception Class org.apache.commons.net.nntp.NNTPConnectionClosedException

    class NNTPConnectionClosedException extends IOException implements Serializable
    serialVersionUID:
      1029785635891040770L

- ## Package org.apache.commons.net.ntp

  - ### Class org.apache.commons.net.ntp.TimeStamp

    class TimeStamp extends Object implements Serializable
    serialVersionUID:
      8139806907588338737L

    - #### Serialization Methods

      - ##### readObject

        private void readObject(ObjectInputStream ignored)
        Throws UnsupportedOperationException.
        Parameters:
          `ignored` - Ignored.

      - ##### writeObject

        private void writeObject(ObjectOutputStream ignored)
        Always throws `UnsupportedOperationException`.
        Parameters:
          `ignored` - ignored.
        Throws:
          `UnsupportedOperationException` - Always thrown.

    - #### Serialized Fields

      - ##### ntpTime

            long ntpTime

        NTP timestamp value: 64-bit unsigned fixed-point number as defined in RFC-1305 with high-order 32 bits the seconds field and the low-order 32-bits the fractional field.

      - ##### simpleFormatter

            DateFormat simpleFormatter

        Formats dates.

      - ##### utcFormatter

            DateFormat utcFormatter

        Formats UTC strings.

- ## Package org.apache.commons.net.smtp

  - ### Exception Class org.apache.commons.net.smtp.SMTPConnectionClosedException

    class SMTPConnectionClosedException extends IOException implements Serializable
    serialVersionUID:
      626520434326660627L

- ## Package org.apache.commons.net.telnet

  - ### Exception Class org.apache.commons.net.telnet.InvalidTelnetOptionException

    class InvalidTelnetOptionException extends Exception implements Serializable
    serialVersionUID:
      -2516777155928793597L

    - #### Serialized Fields

      - ##### msg

            String msg

        Error message

      - ##### optionCode

            int optionCode

        Option code

- ## Package org.apache.commons.net.tftp

  - ### Exception Class org.apache.commons.net.tftp.TFTPPacketException

    class TFTPPacketException extends Exception implements Serializable
    serialVersionUID:
      -8114699256840851439L

- ## Package org.apache.commons.net.util

  - ### Class org.apache.commons.net.util.ListenerList

    class ListenerList extends Object implements Serializable
    serialVersionUID:
      -1934227607974228213L

    - #### Serialization Methods

      - ##### readObject

        private void readObject(ObjectInputStream ignored)
        Throws UnsupportedOperationException.
        Parameters:
          `ignored` - Ignore.

      - ##### writeObject

        private void writeObject(ObjectOutputStream ignored)
        Always throws `UnsupportedOperationException`.
        Parameters:
          `ignored` - ignored.
        Throws:
          `UnsupportedOperationException` - Always thrown.

    - #### Serialized Fields

      - ##### listeners

            CopyOnWriteArrayList<T extends EventListener> listeners

        The thread-safe list of listeners.