Last active
August 29, 2015 14:21
-
-
Save joshwingreene/eff9de948cbd4630e013 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def add_new_chat_session (self, client: Client, agent: Agent) -> datetime: | |
''' Creates a new chat session between the given client and agent; Returns the unique starting timestamp for that session | |
This function doesn't handle the communication for the chat session. The controller should do this.''' | |
pass | |
def log_message (self, session_timestamp: datetime, sendor_name: str, message: str) -> None: | |
''' Records the message to the chat session with the associated timestamp ''' | |
pass | |
def end_chat_session (self, session_timestamp: datetime) -> None: | |
''' Ends the chat session with the associated timestamp. | |
This function just marks the session as being inactive, | |
which could be used by the controller to determine which session's communication should cease ''' | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment