Archived
This forum has been archived. Please start a new discussion on GitHub.
about the icestorm
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?
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?
0