Here is a quick example of client server interaction. We hope this will help you to quickly get started.
LOGIN USER clarke
100 OK Hello clarke please enter your password.
LOGIN PASSWORD barenakedladies
100 OK Welcome back clarke. Please request now.
REQUEST QUICKHOURINFO clarke.1999.11.05.10
100 OK clarke 1 |Lecture in MP103|
Template of return message:
100 OK <username> <length of event> |<quick description>|
REQUEST DETAILEDOURINFO clarke.1999.11.05.10
100 OK 1 |Lecture in MP103| |I'll be talking about the Halloween document| MP103 6 clarke 5 tamda 0 mufti 0 asif 0 tonge 0 tabinh 0
Template of return message:
100 OK <length> |<quick description>| |<detailed
description>| <room> <total # of intenal & external users>
<creator> <# of other internal users> <username1> <status1>
... <usernameN> <statusN>
REQUEST NOTIFICATION
100 OK sheriff 2 clarke.1999.12.31.21 |Sorry. I can't attend the party.|
Template of return message:
100 OK <username> <status> <username.year.month.day.hour>
|<quick description>|
CREATE MEETEVENT clarke.2002.02.28.9 2 MB128 3 |Design meeting| |Going to talk about abstract classes| 2 stumm sheriff
100 OK Notifications sent. Meeting Pending.
Template of command:
CREATE MEETEVENT <username.year.month.day.hour> <room>
<# of internal & external users> |<quick description>|
|<detailed description>| <# of other internal users> <username1>
... <usernameN>
CREATE AUTOMEET 1998 11 13 1999 01 01 09 15 2 NO_ROOM |Client/Server Meeting| |We will be delegating tasks| 2 stumm sheriff
100 OK Slot found at clarke.1998.11.16.12
Template of command:
CREATE AUTOMEET <Year1> <Month1> <Day1> <Year2>
<Month2> <Day2> <T1> <T2> <Len> <Room>
<NumInRoom> |<QuicDesc>| |<DetailDesc>| <Num> [<Username>
... <Username>]
CREATE MEETEVENT clarke.1998.11.16.12 2 NO_ROOM |Client/Server Meeting| |We will be delegating tasks| 2 stumm sheriff
100 OK Notifications sent. Meeting Pending.
Template of command:
CREATE MEETEVENT <EventId> <Len> <Room> <NumInRoom>
|<QuickDes>| |<DetailDes>| <Num> [<Username> ...
<Username>]