/*
 * @(#)BsdAdapter.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;


/**
 * Implements methods for capturing events sourced from Rexec and derived
 * classes. This class is intended to provide vertical compatibility with
 * BsdListener interface.  Typicaly your application will use this class
 * instead of BsdListener interface to capture the following events : <br>
 * BsdConnectedEvent<br>
 * BsdDisconnectedEvent<br>
 * BsdBytesTransmittedEvent<br>
 * BsdBytesReceivedEvent
 * <p/>
 * <P></p>
 */
public class BsdAdapter
        implements BsdListener {
    /**
     * Invoked when connection to BSD r service server is established.
     *
     * @param event a <code>BsdConnectedEvent</code>
     *
     * @see BsdConnectedEvent
     */
    public void connected(BsdConnectedEvent event) {
    }

    /**
     * Invoked when connection to BSD r service server is released.
     *
     * @param event a <code>BsdDisconnectedEvent</code>
     *
     * @see BsdDisconnectedEvent
     */
    public void disconnected(BsdDisconnectedEvent event) {
    }

    /**
     * Invoked when data is transmitted to an OutputStream.
     *
     * @param event a <code>BsdBytesTransmittedEvent</code>
     */
    public void bytesTransmitted(BsdBytesTransmittedEvent event) {
    }

    /**
     * Invoked when data arrives from an InputStream.
     *
     * @param event a <code>BsdBytesReceivedEvent</code>
     */
    public void bytesReceived(BsdBytesReceivedEvent event) {
    }
}
