Skip to content

Commit

Permalink
Add option to remove listener
Browse files Browse the repository at this point in the history
  • Loading branch information
Alemiz112 committed Nov 12, 2023
1 parent 0c7d92b commit feb7444
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,10 @@ public void addVortexPacketListener(VortexPacketListener vortexPacketListener) {
this.listeners.add(vortexPacketListener);
}

public void removeVortexPacketListener(VortexPacketListener vortexPacketListener) {
this.listeners.remove(vortexPacketListener);
}

public InetSocketAddress getAddress() {
return this.session.getAddress();
}
Expand Down

0 comments on commit feb7444

Please sign in to comment.