//# 0 errors, 69 messages
//#
/*
    //#SocketState.java:1:1: class: com.dmdirc.parser.irc.SocketState
 * Copyright (c) 2006-2009 Chris Smith, Shane Mc Cormack, Gregory Holmes
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

package com.dmdirc.parser.irc;

/**
 * An enumeration of possible states of an IRC Parser's socket.
 *
 * @since 0.6.3m1
 * @author chris
 */
public enum SocketState {
    //#SocketState.java:31: method: SocketState[] com.dmdirc.parser.irc.SocketState.values()
    //#input(SocketState[] values()): $VALUES
    //#input(SocketState[] values()): $VALUES.length
    //#input(SocketState[] values()): $VALUES[0..3]
    //#output(SocketState[] values()): new SocketState[](values#1) num objects
    //#output(SocketState[] values()): return_value.length
    //#output(SocketState[] values()): return_value[0..3]
    //#output(SocketState[] values()): return_value
    //#new obj(SocketState[] values()): new SocketState[](values#1)
    //#pre[1] (SocketState[] values()): (soft) init'ed($VALUES[0..3])
    //#post(SocketState[] values()): return_value == &new SocketState[](values#1)
    //#post(SocketState[] values()): new SocketState[](values#1) num objects == 1
    //#post(SocketState[] values()): return_value.length == 3
    //#post(SocketState[] values()): return_value[0..3] == One-of{$VALUES[0..3], undefined}
    //#SocketState.java:31: end of method: SocketState[] com.dmdirc.parser.irc.SocketState.values()
    //#SocketState.java:31: method: SocketState com.dmdirc.parser.irc.SocketState.valueOf(String)
    //#input(SocketState valueOf(String)): __Descendant_Table[com/dmdirc/parser/irc/SocketState]
    //#input(SocketState valueOf(String)): __Descendant_Table[others]
    //#input(SocketState valueOf(String)): name
    //#output(SocketState valueOf(String)): return_value
    //#presumption(SocketState valueOf(String)): java.lang.Enum:valueOf(...).__Tag@31 == com/dmdirc/parser/irc/SocketState
    //#post(SocketState valueOf(String)): init'ed(return_value)
    //#SocketState.java:31: end of method: SocketState com.dmdirc.parser.irc.SocketState.valueOf(String)
    //#SocketState.java:31: method: void com.dmdirc.parser.irc.SocketState.com.dmdirc.parser.irc.SocketState(String, int)
    //#input(void com.dmdirc.parser.irc.SocketState(String, int)): Param_1
    //#input(void com.dmdirc.parser.irc.SocketState(String, int)): Param_2
    //#input(void com.dmdirc.parser.irc.SocketState(String, int)): this
    //#SocketState.java:31: end of method: void com.dmdirc.parser.irc.SocketState.com.dmdirc.parser.irc.SocketState(String, int)

    /** Socket is not created yet. */
    NULL,
    //#SocketState.java:34: method: com.dmdirc.parser.irc.SocketState.com.dmdirc.parser.irc.SocketState__static_init
    //#output(com.dmdirc.parser.irc.SocketState__static_init): $VALUES
    //#output(com.dmdirc.parser.irc.SocketState__static_init): CLOSED
    //#output(com.dmdirc.parser.irc.SocketState__static_init): NULL
    //#output(com.dmdirc.parser.irc.SocketState__static_init): OPEN
    //#output(com.dmdirc.parser.irc.SocketState__static_init): __Descendant_Table[com/dmdirc/parser/irc/SocketState]
    //#output(com.dmdirc.parser.irc.SocketState__static_init): new SocketState(SocketState__static_init#1) num objects
    //#output(com.dmdirc.parser.irc.SocketState__static_init): NULL.__Tag
    //#output(com.dmdirc.parser.irc.SocketState__static_init): new SocketState(SocketState__static_init#2) num objects
    //#output(com.dmdirc.parser.irc.SocketState__static_init): CLOSED.__Tag
    //#output(com.dmdirc.parser.irc.SocketState__static_init): new SocketState(SocketState__static_init#3) num objects
    //#output(com.dmdirc.parser.irc.SocketState__static_init): OPEN.__Tag
    //#output(com.dmdirc.parser.irc.SocketState__static_init): new SocketState[](SocketState__static_init#4) num objects
    //#output(com.dmdirc.parser.irc.SocketState__static_init): $VALUES.length
    //#output(com.dmdirc.parser.irc.SocketState__static_init): $VALUES[0]
    //#output(com.dmdirc.parser.irc.SocketState__static_init): $VALUES[1]
    //#output(com.dmdirc.parser.irc.SocketState__static_init): $VALUES[2]
    //#new obj(com.dmdirc.parser.irc.SocketState__static_init): new SocketState(SocketState__static_init#1)
    //#new obj(com.dmdirc.parser.irc.SocketState__static_init): new SocketState(SocketState__static_init#2)
    //#new obj(com.dmdirc.parser.irc.SocketState__static_init): new SocketState(SocketState__static_init#3)
    //#new obj(com.dmdirc.parser.irc.SocketState__static_init): new SocketState[](SocketState__static_init#4)
    //#post(com.dmdirc.parser.irc.SocketState__static_init): $VALUES == &new SocketState[](SocketState__static_init#4)
    //#post(com.dmdirc.parser.irc.SocketState__static_init): CLOSED == &new SocketState(SocketState__static_init#2)
    //#post(com.dmdirc.parser.irc.SocketState__static_init): $VALUES[1] == &new SocketState(SocketState__static_init#2)
    //#post(com.dmdirc.parser.irc.SocketState__static_init): NULL == &new SocketState(SocketState__static_init#1)
    //#post(com.dmdirc.parser.irc.SocketState__static_init): $VALUES[0] == &new SocketState(SocketState__static_init#1)
    //#post(com.dmdirc.parser.irc.SocketState__static_init): OPEN == &new SocketState(SocketState__static_init#3)
    //#post(com.dmdirc.parser.irc.SocketState__static_init): $VALUES[2] == &new SocketState(SocketState__static_init#3)
    //#post(com.dmdirc.parser.irc.SocketState__static_init): __Descendant_Table[com/dmdirc/parser/irc/SocketState] == &__Dispatch_Table
    //#post(com.dmdirc.parser.irc.SocketState__static_init): new SocketState(SocketState__static_init#1) num objects == 1
    //#post(com.dmdirc.parser.irc.SocketState__static_init): new SocketState(SocketState__static_init#2) num objects == 1
    //#post(com.dmdirc.parser.irc.SocketState__static_init): new SocketState(SocketState__static_init#3) num objects == 1
    //#post(com.dmdirc.parser.irc.SocketState__static_init): new SocketState[](SocketState__static_init#4) num objects == 1
    //#post(com.dmdirc.parser.irc.SocketState__static_init): NULL.__Tag == com/dmdirc/parser/irc/SocketState
    //#post(com.dmdirc.parser.irc.SocketState__static_init): CLOSED.__Tag == com/dmdirc/parser/irc/SocketState
    //#post(com.dmdirc.parser.irc.SocketState__static_init): OPEN.__Tag == com/dmdirc/parser/irc/SocketState
    //#post(com.dmdirc.parser.irc.SocketState__static_init): $VALUES.length == 3
    //#unanalyzed(com.dmdirc.parser.irc.SocketState__static_init): Effects-of-calling:java.lang.Enum
    /** Socket is closed. */
    CLOSED,
    /** Socket is Open. */
    OPEN;
    //#SocketState.java:38: end of method: com.dmdirc.parser.irc.SocketState.com.dmdirc.parser.irc.SocketState__static_init

}
    //#SocketState.java:: end of class: com.dmdirc.parser.irc.SocketState
