User Control Panel
Advertisements

HELP US, HELP YOU!

Moving forward with MSN.pm

 
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN.pm Development
View unanswered posts
Author Message
eric256
The Keymaker
The Keymaker


Joined: 03 May 2006
Posts: 2292
Location: Colorado
Reputation: 47Reputation: 47Reputation: 47Reputation: 47Reputation: 47

PostPosted: Sun Feb 08, 2004 7:24 am    Post subject: Reply with quote

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 Smile

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 Smile
    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 Smile

_________________
Eric256
Proud previous owner and current admin of Bot-depot.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Bot Depot Forum Index -> MSN.pm Development All times are GMT
Page 1 of 1

 



Protected by phpBB Security phpBB-TweakS
phpBB Security Has Blocked 9 Exploit Attempts.
Antispam Captcha Mod by phpbb-security.com
Powered by phpBB © 2001, 2005 phpBB Group