LaColla.Api
Interface ApplicationsSideApi

All Superinterfaces:
java.rmi.Remote

public interface ApplicationsSideApi
extends java.rmi.Remote

Author:
Xavier Created on 20-jul-2004 by Xavier into LaColla.Api

Method Summary
 boolean AppIsAlive(java.lang.String appId)
           
 void exception(java.lang.String groupId, java.lang.String message)
           
 void memberDisconnected(java.lang.String groupId, java.lang.String userId)
           
 void newConnectedMember(java.lang.String groupId, java.lang.String userId, java.lang.String memberId2)
           
 void newEvent(java.lang.String groupId, Event evt)
           
 void newInfoGroup(java.lang.String userId, java.lang.String groupId, java.lang.String aplicId, GroupInfo info)
           
 void newInstantMsg(java.lang.String groupId, java.lang.String userId, java.lang.String destMemberId, java.lang.Object message)
           
 void notifyStopTask(java.lang.String groupId, java.lang.String idTask, java.lang.String result)
           
 void notifyTaskState(java.lang.String groupId, java.lang.String idTask, java.lang.String state, java.lang.String result)
           
 

Method Detail

newConnectedMember

void newConnectedMember(java.lang.String groupId,
                        java.lang.String userId,
                        java.lang.String memberId2)
                        throws java.rmi.RemoteException
Parameters:
groupId - - the groupId
userId - - the unique userID provided by LaCOLLA
Throws:
java.rmi.RemoteException

memberDisconnected

void memberDisconnected(java.lang.String groupId,
                        java.lang.String userId)
                        throws java.rmi.RemoteException
Parameters:
groupId - - the groupId
userId - - the unique userID provided by LaCOLLA
Throws:
java.rmi.RemoteException

newEvent

void newEvent(java.lang.String groupId,
              Event evt)
              throws java.rmi.RemoteException
Parameters:
groupId - - the groupId
evt - - the new event received
Throws:
java.rmi.RemoteException - DEPRECATED

newInfoGroup

void newInfoGroup(java.lang.String userId,
                  java.lang.String groupId,
                  java.lang.String aplicId,
                  GroupInfo info)
                  throws java.rmi.RemoteException
Parameters:
userId - - the unique userID provided by LaCOLLA
groupId - - the groupId
aplicId - - the applicationId
info - - the new groupInfo
Throws:
java.rmi.RemoteException

exception

void exception(java.lang.String groupId,
               java.lang.String message)
               throws java.rmi.RemoteException
Parameters:
groupId - - the groupId
message - - the message notifying the exception
Throws:
java.rmi.RemoteException

notifyStopTask

void notifyStopTask(java.lang.String groupId,
                    java.lang.String idTask,
                    java.lang.String result)
                    throws java.rmi.RemoteException
Parameters:
groupId - - the groupId
idTask - - the task unique Id
result - - the result of the task
Throws:
java.rmi.RemoteException

notifyTaskState

void notifyTaskState(java.lang.String groupId,
                     java.lang.String idTask,
                     java.lang.String state,
                     java.lang.String result)
                     throws java.rmi.RemoteException
Parameters:
groupId - - the groupId
idTask - - the task unique Id
state - - the task state
result - - the result of the task
Throws:
java.rmi.RemoteException

AppIsAlive

boolean AppIsAlive(java.lang.String appId)
                   throws java.rmi.RemoteException
Parameters:
appId - - the aplication Id
Returns:
true if the app is still alive
Throws:
java.rmi.RemoteException

newInstantMsg

void newInstantMsg(java.lang.String groupId,
                   java.lang.String userId,
                   java.lang.String destMemberId,
                   java.lang.Object message)
                   throws java.rmi.RemoteException
Parameters:
groupId -
userId -
destMemberId -
message -
Throws:
java.rmi.RemoteException