On Tue, 2005-03-08 at 09:35 -0600, Alex Malinovich wrote:
--snip--
> A) Overload handleEvent() in ManagerEventHandler to handle each of the
> various types of ManagerEvents
I think I just answered my own question again. 'A' is the correct
solution, only instead of overloading handleEvent in
ManagerEventHandler, I should overload it in my implementation. That is:
mc.addEventHandler(new ManagerEventHandler() {
public void handleEvent(ManagerEvent event) {
//do nothing yet
}
public void handleEvent(NewChannelEvent event) {
//DEBUG
System.out.println("Caller ID =3D " + event.getCallerId());
}
});
I think I should just stop asking questions and wait until I answer them
myself. :)
--=20
Alex Malinovich
Golden Technologies, Inc.
(219) 462-7200 x 216
http://www.golden-tech.com
|