Skip to content

Commit

Permalink
dreed : adding Terminal.removeObserver(TerminalObserver observer)
Browse files Browse the repository at this point in the history
  • Loading branch information
nurous committed Mar 11, 2010
1 parent 7a4f0b2 commit be884f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/net/sf/f3270/Terminal.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ public void screenUpdated() {
public void addObserver(TerminalObserver observer) {
observers.add(observer);
}

public void removeObserver(TerminalObserver observer) {
observers.remove(observer);
}

public Terminal connect() {
s3270 = new S3270(s3270Path, hostname, port, type, mode);
Expand Down

0 comments on commit be884f1

Please sign in to comment.