org.resoa.stack.protocol.service
Interface ProtocolService

All Known Implementing Classes:
AESKeyClient, AESKeyServer, ConnectionRequest, DisconnectIndication, MonitorStatus, MonitorStatusRequest, Ping, ProfileHandler, ProfileHandlerClient, ProfileHandlerServer, ProfileRequest, ProfileUpdate, ProtocolServiceImpl, SocketInitialized, StackConfigInfo

public interface ProtocolService


Method Summary
 void execute(org.resoa.grid.GridSession session)
          Excute the protocol service
 boolean isActive()
          is the protocol service activated within stack?
 void onNewMessage(org.resoa.grid.Message msg)
          invoked on incoming protocol message
 void setActive(boolean active)
          set the protocol service active flag?
 

Method Detail

isActive

boolean isActive()
is the protocol service activated within stack?


setActive

void setActive(boolean active)
set the protocol service active flag?

Parameters:
active -

execute

void execute(org.resoa.grid.GridSession session)
             throws org.resoa.exception.ProtocolException
Excute the protocol service

Parameters:
session -
Throws:
org.resoa.exception.ProtocolException

onNewMessage

void onNewMessage(org.resoa.grid.Message msg)
                  throws org.resoa.exception.ProtocolException
invoked on incoming protocol message

Parameters:
msg -
Throws:
org.resoa.exception.ProtocolException


Copyright © 2007 www.resoa.org. All Rights Reserved.