porting connection and connector from j2me cldc
Cory Hu <cory_hu-/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
I am porting a j2me cldc SIP(application layer
protocol) stack to TINI 400(1,12)
in which I import
java.util.*;
java.io.*;
javax.microedition.io.*;
javax.microedition.sip.*;
package javax.microedition.sip only includes classes
which is inheritance from package
javax.microedition.io.connection and
javax.microedition.io.connector. The API is integrated
into the Generic Connection Framework defined in
Connected, Limited Device Configuration.
Using this API, I tried some simple case to send some
message with TINI. build OK, but nothing happen even I
tried some
System.out.println("SendMessage starting...");
to indicate the status.
Does anyone have exprience on porting classes
Connection and Connector from javax.Microedition.io.*?
is it a memory
problem or I should write udp send/recieve method for
TINI instead?
I will appreciate your thoughts and advice:) thanks
here is detials about the API classes
Class Hierarchy
java.lang.Object
|--javax.microedition.sip.SipAddress42
|--javax.microedition.sip.SipHeader37
|--javax.microedition.sip.SipRefreshHelper48
|--java.lang.Throwable
|--java.lang.Exception
|--java.io.IOException
|--javax.microedition.sip.SipException53
Interface Hierarchy
javax.microedition.io.Connection
|--javax.microedition.sip.SipConnection9
|--javax.microedition.sip.SipClientConnection16
|--javax.microedition.sip.SipServerConnection24
|--javax.microedition.sip.SipConnectionNotifier28
javax.microedition.sip.SipClientConnectionListener31
javax.microedition.sip.SipDialog33
javax.microedition.sip.SipRefreshListener52
javax.microedition.sip.SipServerConnectionListener32
regards
Cory
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini