public LocalIncomingServerSession getIncomingServerSession(StreamID streamID) {
        return localSessionManager.getIncomingServerSession(streamID);
    }
Returns the incoming server session hosted by this JVM that matches the specified stream ID.

@param streamID the stream ID that identifies the incoming server session hosted by this JVM.
@return the incoming server session hosted by this JVM or null if none was found.
xmppserver/src/main/java/org/jivesoftware/openfire/SessionManager.java