Hi,
how can my plugin listen for OutgoingServerSession event?
thanks
aster
Hi,
how can my plugin listen for OutgoingServerSession event?
thanks
aster
why if i add a listener which implement the SessionEventListener interface it works only with client sessions?
my code is
private class ExampleSessionEventListener implements SessionEventListener {
public void sessionCreated(Session session) {
System.out.println("\n ExampleSessionEventListener: sessione Creata ");
System.out.println("\n con il server: “session.getServerName()”\n jid: “session.getAddress()”\n sessionToString:"+session.toString());
}
public void sessionDestroyed(Session session) {
System.out.println("\n ExampleSessionEventListener: sessione Distrutta ");
System.out.println("\n con il server: “session.getServerName()”\n jid: “session.getAddress()”\n sessionToString:"+session.toString());
}
public void anonymousSessionCreated(Session session) {
System.out.println("\nExampleSessionEventListener.anonymousSsessionCreated()");
}
public void anonymousSessionDestroyed(Session session) {
System.out.println("\nExampleSessionEventListener.anonymousSsessionDestroyed()" );
}
}