eric256 The Keymaker

Joined: 03 May 2006 Posts: 2292 Location: Colorado
     
|
Posted: Sun Feb 08, 2004 7:24 am Post subject: |
|
|
Here are my thoughts on breaking this down. Its not a complete setup and it needs work and fine tunning. I just wanted somewhere to focus my ideas and get a big picture before i start hacking up MSN.pm 
| Quote: | Net::MSN - Creats all the other needed info and classes Properties Handle, Password, Friendly Name Host,Port Methods Call Change_Name Set_Status Add_To_List, Rem_From_List Block,UnBlock AddBuddy, RemBuddy Buddy_Status - gets the status of a buddy Disconnect Conversations - gets a list of all active conversations ConvertError
|
| Quote: | Net::MSN::Connection A TCP connection object with the ability to communicate with MSN servers Auto adds itself to the parents Select object to get its peice of the loop Properties Host,Port _parent - a pointer to the big Net::MSN guy  Methods TrID - returns the next TrID for this connection, loops over at 1,000 back to 1 connect - starts the actualy connection _send - sends raw data to socket send - sends commands with data to the server, adding TrID and newlines # sendraw and sendrawnoid should be simulated with _send disconnect - close socket
|
| Quote: | Net::MSN::NameServer Derived from Net::Connection with events for NS stuff Methods Call Add_To_List, Rem_From_List, Get_List MSN Events VER, CVR, USR, XFR, RNG, MSG (for system messages), NLN, ILN, FLN ADC, ADD CHL GTC, BLP SYN, LST
|
| Quote: | Net::MSN::SwitchBoard Derived from Net::Connection with events for SB stuff Methods Invite, Leave Send_Msg MSN Events USR - when is this called here? XFR - when MSN starts a convo for us, then we need to call the person in JOI, IRO, BYE - buddies comming and going MSG
|
See if you can't wrap your brains around that and then tell me what i've screwed up, or what will make it impossible to use  _________________ Eric256
Proud previous owner and current admin of Bot-depot.com |
|