Skip to content

Commit

Permalink
Added api point for checking stream behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
steely-glint committed Oct 16, 2023
1 parent 637f59d commit d5d66f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/pe/pi/sctp4j/sctp/SCTPStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ public String toString() {
+ ((_sl != null) ? _sl.getClass().getSimpleName() : "null");
}

public String getBehave(){
return (_behave==null)?"unknown":_behave.getClass().getSimpleName();
}
/*
void send(SCTPMessage mess) {
try {
Expand Down

0 comments on commit d5d66f4

Please sign in to comment.