Changeset 200

Show
Ignore:
Timestamp:
03/24/09 17:33:27 (15 years ago)
Author:
bhilburn
Message:

Initial work to get SML class compiling with a working skeleton. Still
nothing here; just the framework.

Location:
vtcross/trunk
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/.gitignore

    r161 r200  
    3535cbr_demo 
    3636shell_demo 
     37sml_demo 
  • vtcross/trunk/src/service_management_layer/Makefile.am

    r161 r200  
     1INCLUDES = -I$(top_srcdir)/src/include 
     2 
     3AM_CXXFLAGS = -Wall -g 
     4 
     5bin_PROGRAMS = sml_demo 
     6 
     7sml_demo_SOURCES = ServiceManagementLayer.cpp sml_demo.cpp 
     8sml_demo_LDADD = ../lib/socketcomm/libsocketcomm.a 
     9 
  • vtcross/trunk/src/service_management_layer/ServiceManagementLayer.cpp

    r181 r200  
    3434 
    3535void  
    36 ServiceManagementLayer::GetRemoteComponentType(int32_t socketFD) 
     36ServiceManagementLayer::SendComponentType() 
    3737{ 
    3838} 
     
    4040 
    4141void  
    42 ServiceManagementLayer::WaitForSignal(int32_t socketFD) 
    43 {    
    44     LOG("ServiceManagementLayer:: Waiting for signal...\n"); 
     42ServiceManagementLayer::ConnectToRemoteComponent(const char* serverName, const char* serverPort) 
     43{ 
     44} 
    4545 
     46 
     47void  
     48ServiceManagementLayer::WaitForSignal() 
     49{ 
    4650    // TODO This is the critical point of this class... we need to figure out 
    4751    // what the requests will look like before we can proceed. 
    48     while(1) {} 
    4952 
    5053    /* 
     
    7073 
    7174void  
    72 ServiceManagementLayer::RegisterComponent(int32_t socketFD) 
     75ServiceManagementLayer::RegisterComponent() 
    7376{ 
    74     SendMessage(socketFD, "register_sml"); 
     77    SendMessage(shellSocketFD, "register_sml"); 
    7578    LOG("ServiceManagementLayer:: Registration message sent.\n"); 
    7679} 
     
    7881 
    7982void  
    80 ServiceManagementLayer::DeregisterComponent(int32_t socketFD) 
     83ServiceManagementLayer::DeregisterComponent() 
    8184{ 
    8285}