jcapi-developer Mailing List for Jcapi - Java wrapper for CAPI
Status: Beta
Brought to you by:
hgraefe
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: <H.G...@t-...> - 2002-05-20 20:12:11
|
Hallo zusammen, ich habe auf Anregung von Frank Moritz ein paar kleinere Anpassungen vorgenommen, um dem Linux-CAPI näher zu kommen: - Den Methoden getManufacturer(), getSerialNumber() und getVersion() kann jetzt ein Parameter "controller" mitgegeben werden; eine Controller-Nummer ungleich 0 führt jedoch im Windows-System zu einer Exception. - getManufacturer() kann auch eine Exception werfen (im Windows gibt's hier keinen Return-Code, wohl aber unter Linux). Gruß Holger |
From: <H.G...@t-...> - 2002-05-19 14:56:11
|
Hi Frank, finde ich gut, dass du dich mit der Linux-Seite befasst; dadurch fallen nämlich "Unstimmigkeiten" - wie die erwähnten - erst auf. Die Demo-Programme DataCon.class und CallMon.class sind im aktuellen Release (Download auf der Projekt-Seite) enthalten. Wenn's damit Probleme gibt, sag Bescheid. Das mit getSerialNumber usw. muss ich mir mal anschauen. Die Methode getImplementationInfo() soll nichts in erster Linie nichts über die Plattform oder nativen Teile sagen, sondern über die (Java-)Implementierung der org.capi.capi20 Interfaces. Es wären hier ja auch andere Implementierungen als Jcapi möglich. Ich hatte schon vorher überlegt, ob es sinnvoll ist, den BuffSize- Parameter wegzulassen, da hierfür ohnehin eine Formel angegeben wird. Vielleicht ist es aber auch sinnvoll, beide Varianten in's API mit aufzunehmen. Gruß Holger PS: Ich habe diese Mail auch an den Mailverteiler geschickt. Frank Moritz schrieb: > Hallo Holger, > > die erste Version der Linux Implementation vom Jcapi-Wrapper ist fertig > geworden. Ich bräuchte dann jetzt mal eine lauffähige Version des DataCon > oder ein ähnliches Programm, womit man mal ein paar Messages verschicken und > empfangen kann. Am besten eines, was im Textmodus auf der Konsole lauffähig > ist, da ich im Moment kein X drauf habe. > > Du kannst auch schon mal überlegen, wie wir die Linux und Win32 Version > unter einen Hut kriegen. Die Linux Varianten der CAPI-Befehle > getSerialnumber, getVersion usw. haben nämlich noch einen zusätzlichen > Controller-Parameter (siehe CAPI-PDFs). > > Dann wäre es wahrscheinlich auch noch besser, alle platformspezifischen > Sachen aus der jcapi.java rauszunehmen und in die jeweiligen native > Bibliotheken auszulagern (betrifft z.B. getImplementationInfo()). > > Übrigens wird die MessageBufferSize beim REGISTER in der Linux-CAPI > automatisch gesetzt. > > Gruß > > Frank > > > -----Ursprüngliche Nachricht----- > > Von: Holger Graefe [mailto:H.G...@t-...] > > Gesendet: Sonntag, 12. Mai 2002 16:07 > > An: Fra...@t-... > > Betreff: Re: AW: AW: AW: Neues vom Jcapi-Projekt > > > > > > Hallo Frank, > > > > ich habe dich als Entwickler angemeldet. Ferner gibt es ein Forum > > > > https://sourceforge.net/forum/forum.php?forum_id=105670 > > > > und eine Mailing-Liste > > > > http://www.geocrawler.com/redir-sf.php3?list=jcapi-developer > > > > Gruß > > Holger > > > > Frank Moritz schrieb: > > > Hi! > > > > > > > -----Ursprüngliche Nachricht----- > > > > Von: Holger Graefe [mailto:H.G...@t-...] > > > > Gesendet: Samstag, 11. Mai 2002 21:13 > > > > An: Fra...@t-... > > > > Betreff: Re: AW: AW: Neues vom Jcapi-Projekt > > > > > > > > > > > > Hi Frank, > > > > > > > > das mit den Rückgabe-Werten ist zu überlegen; meine Motivation für die > > > > "kleinen" Werte war die, dass man beim Schreiben (setValue) keine > > > > Größenprüfung machen muss (war vielleicht ein bisschen faul...) > > > > > > > > Zur Message-Nummer: Ich meinte schon, die Methode zur Berechnung einer > > > > neuen Message-Nummer im Jcapi einzubauen; damit überlädt man > > das sicher > > > > nicht. Nur das automatische Beantworten von Nachrichten oder > > das Warten > > > > auf Antworten ist meiner Meinung nach eine höhere Kommunikations- > > > > Schicht (im Architektur-Modell der "ISDN application layer"). > > > > > > > > Die C-Sourcen von AVM habe ich mir noch nicht angeschaut. > > > > > > > > Apropos Linux: Ich suche dringend jemand, der den JNI-Teil auf Linux > > > > portiert, um das Konzept hier zu evaluieren. Ich habe leider keine > > > > ISDN-Hardware mit Linux-CAPI. > > > > > > Hmm, im Grunde ist ja nicht viel zu tun, da die Linux CAPI eigentlich > > > identisch angesprochen wird. Ich kann mich gerne mal ein oder > > zwei Abende in > > > der kommenden Woche damit beschäftigen. > > > > > > > Ich habe unsere Nachrichten ins Forum gestellt. Um dich als Entwickler > > > > zu registrieren, brauche ich noch deine Sourceforge-User-ID. > > > > > > Meine User ID ist 524281. > > > > > > > > > > > Gruß > > > > Holger > > > > > > > > > > |