diff --git a/src/main/java/pe/pi/sctp4j/sctp/SCTPStream.java b/src/main/java/pe/pi/sctp4j/sctp/SCTPStream.java index df70b8c..4769b24 100644 --- a/src/main/java/pe/pi/sctp4j/sctp/SCTPStream.java +++ b/src/main/java/pe/pi/sctp4j/sctp/SCTPStream.java @@ -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 {