cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
238
Views
0
Helpful
1
Replies

ciscoterminal senddata question

markoller
Level 1
Level 1

OK, I am trying to send an xml object to a phone associated with a user. I successfully create a provider and add call and terminal observers as required. I have created an array of terminals in java as follows.

Terminal [] terms;

then I populate the array using:

prov.getTerminals();

I tried defining the array as:

CiscoTerminal [] terms;

but ran into compilier error, incompataible types on the getTerinals(); line. Of course, when the array is defined as Terminal the sendData() method is not exposed. What stupid thing am I doing?

1 Reply 1

markoller
Level 1
Level 1

well duh, simple typecasting. I have been staring at this thing for too long.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: