com.jscape.inet.ipclient

## Class IpClientDisconnectedEvent

- java.lang.Object
- - java.util.EventObject
  - - com.jscape.inet.ipclient.IpClientDisconnectedEvent

- All Implemented Interfaces:
    java.io.Serializable

      public class IpClientDisconnectedEvent
      extends java.util.EventObject

  Fired when connection with server is closed.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IpClientDisconnectedEvent(java.lang.Object source, java.lang.String hostname, int port)` Creates a new IpClientDisconnectedEvent instance.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getHostname()` Gets server hostname.
    `int` | `getPort()` Gets server port.

    - ### Methods inherited from class java.util.EventObject

      `getSource, toString`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### IpClientDisconnectedEvent

          public IpClientDisconnectedEvent(java.lang.Object source,
                                           java.lang.String hostname,
                                           int port)

      Creates a new IpClientDisconnectedEvent instance.
      Parameters:
        `source` - the source of this event
        `hostname` - the server hostname
        `port` - the server port

  - ### Method Detail

    - #### getHostname

          public java.lang.String getHostname()

      Gets server hostname.
      Returns:
        server hostname

    - #### getPort

          public int getPort()

      Gets server port.
      Returns:
        server port

Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved