// Path: tftp-protocol/src/main/java/org/anarres/tftp/protocol/resource/TftpDataProvider.java
// public interface TftpDataProvider {
// 
//     /**
//      * Returns the resource with the given name.
//      */
//     @CheckForNull
//     public TftpData open(@Nonnull String filename) throws IOException;
// }


import java.io.IOException;
import javax.annotation.Nonnegative;
import javax.annotation.Nonnull;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import org.anarres.tftp.protocol.resource.TftpDataProvider;
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.anarres.tftp.protocol.engine;


/**
 *
 * @author shevek
 */
public abstract class AbstractTftpServer {

    public static final int DEFAULT_SERVER_PORT = 69;

// Path: tftp-protocol/src/main/java/org/anarres/tftp/protocol/resource/TftpDataProvider.java
// public interface TftpDataProvider {
// 
//     /**
//      * Returns the resource with the given name.
//      */
//     @CheckForNull
//     public TftpData open(@Nonnull String filename) throws IOException;
// }


// Path: tftp-protocol/src/main/java/org/anarres/tftp/protocol/engine/AbstractTftpServer.java
import java.io.IOException;
import javax.annotation.Nonnegative;
import javax.annotation.Nonnull;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import org.anarres.tftp.protocol.resource.TftpDataProvider;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.anarres.tftp.protocol.engine;


/**
 *
 * @author shevek
 */
public abstract class AbstractTftpServer {

    public static final int DEFAULT_SERVER_PORT = 69;

    private final TftpDataProvider dataProvider;