@ -53,15 +53,24 @@ public class SessionDisconnectEvent extends AbstractSubProtocolEvent {
@@ -53,15 +53,24 @@ public class SessionDisconnectEvent extends AbstractSubProtocolEvent {
Assert.notNull(sessionId,"'sessionId' must not be null");
super(source,message,user);
Assert.notNull(sessionId,"Session id must not be null");
this.sessionId=sessionId;
this.status=closeStatus;
}
/**
*Returnthesessionid.
*/
@ -76,6 +85,7 @@ public class SessionDisconnectEvent extends AbstractSubProtocolEvent {
@@ -76,6 +85,7 @@ public class SessionDisconnectEvent extends AbstractSubProtocolEvent {