public static boolean sendToTarget(Message message, SessionID sessionID) throws SessionNotFound { message.setSessionID(sessionID); Session session = lookupSession(sessionID); if (session == null) { throw new SessionNotFound(); } return session.send(message);
public static boolean sendToTarget(Message message) throws SessionNotFound { return sendToTarget(message, "");
    public static boolean sendToTarget(Message message, SessionID sessionID) throws SessionNotFound {        message.setSessionID(sessionID);        Session session = lookupSession(sessionID);        if (session == null) {            throw new SessionNotFound();        }        return session.send(message);    }