tn5250j/src/org/tn5250j/beans ProtocolBean.java,1.1,1.2
"Kenneth J. Pouncey" <[email protected]> Mon, 26 Jul 2004 20:39:32 +0000
| Newsgroups | gmane.comp.java.tn5250j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j/beans
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27119/src/org/tn5250j/beans
Modified Files:
ProtocolBean.java
Log Message:
woops forgot to take out debuggin methods and added a getSession method
Index: ProtocolBean.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/beans/ProtocolBean.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ProtocolBean.java 26 Jul 2004 19:21:00 -0000 1.1
--- ProtocolBean.java 26 Jul 2004 20:39:30 -0000 1.2
***************
*** 53,57 ****
! public class ProtocolBean implements TN5250jConstants, ScreenListener {
// // ===========================================================================
--- 53,57 ----
! public class ProtocolBean implements TN5250jConstants {
// // ===========================================================================
***************
*** 76,91 ****
new SessionConfig(configurationResource, sessionName));
this.sessionProperties = sessionProperties;
! session.getScreen().addScreenListener(this);
}
! public void onScreenSizeChanged(int sr, int sc) {
!
! }
!
! public void onScreenChanged(int which, int sr, int sc, int er, int ec) {
!
! String s = new String(session.getScreen().getScreenAsChars());
! System.out.println(s);
! }
// ===========================================================================
--- 76,96 ----
new SessionConfig(configurationResource, sessionName));
this.sessionProperties = sessionProperties;
! // session.getScreen().addScreenListener(this);
}
! public Session5250 getSession() {
!
! return session;
!
! }
! // public void onScreenSizeChanged(int sr, int sc) {
! //
! // }
! //
! // public void onScreenChanged(int which, int sr, int sc, int er, int ec) {
! //
! // String s = new String(session.getScreen().getScreenAsChars());
! // System.out.println(s);
! // }
// ===========================================================================
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click