view src/org/tn5250j/framework/Tn5250jListener.java @ 3:e8d2a24e85c6 tn5250

adding tn5250 files
author Carl Byington <carl@five-ten-sg.com>
date Thu, 22 May 2014 12:11:10 -0700
parents
children
line wrap: on
line source

/**Copyright (C) 2004 Seagull Software
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*
*@author bvansomeren (bvansomeren@seagull.nl)
*/
package org.tn5250j.framework;

import java.io.File;
import java.util.Properties;

public abstract class Tn5250jListener {
	public abstract void actionPerformed(Tn5250jEvent event);
	
	public abstract void init(File fileDir, Properties config);
	
	public abstract void run();
	
	public abstract void destroy();
	
	public abstract String getName();
	
	public abstract void setController(Tn5250jController control);
	
	public abstract void sessionCreated(Tn5250jSession session);
}