code: public NotificationRecord[] getClientInbox(int clientID) {
          //Fetch the inbox
          ClientNotificationArea inbox = getInboxIfAvailable(clientID, null);
  
          //Fetch the notifications (may wait if empty)
          return inbox.fetchNotifications();
      }
docs: Retrieve the list of client notifications