Home Help Center

about the icestorm

yuzexuyuzexu Member Gem yuOrganization: University of National DefenceProject: 10000 Clients throught local area network
hello:

now i want to implements this a function:

agent(c++ app) send events to the server(java)
the console(c++ app) Subscribe the events

interface for icestorm:
class Event
{
int deptId;
string desc;
string evtTime;
}
["java:type:java.util.ArrayList"] sequence<Event> EventSeq;

interface ReceviceEvent
{

void recevice(EventSeq events);
}

now i have a trouble:(
for example:
the console 1 only Subscribe the event for deptId=1
the console 2 only subscribe the event for deptId=2 or deptId=3

how to do?
Sign In or Register to comment.