/*
 * @(#)BsdConnectedEvent.java
 *
 * Copyright (c) 2001-2002 JScape
 * 1147 S. 53rd Pl., Mesa, Arizona, 85206, U.S.A.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * JScape. ("Confidential Information").  You shall not disclose such
 * Confidential Information and shall use it only in accordance with
 * the terms of the license agreement you entered into with JScape.
 */
package com.jscape.inet.bsd;

import java.util.EventObject;


/**
 * Fired when connection to BSD r server is established.
 */
public class BsdConnectedEvent
        extends EventObject {
    private String hostname;

    /**
     * Creates BsdConnectedEvent.
     *
     * @param source   the source of the event
     * @param hostname the hostname of the Ftp server
     */
    public BsdConnectedEvent(Object source, String hostname) {
        super(source);
        this.hostname = hostname;
    }

    /**
     * Gets Bsd r service server hostname.
     *
     * @return hostname
     */
    public String getHostname() {
        return hostname;
    }
}
