Description: Client creato con le librerie SWING
Copyright: Copyright (c) 2005
Company:
Definizione alla linea 14 del file TestGateway.java.
Membri pubblici | |
TestGateway () | |
String | sendRequest (String xml) |
invia la richiesta xml sotto forma di stringa al server | |
int | sendLogin (XRequestLogin login) |
String | logout () |
logout | |
Membri pubblici statici | |
static void | main (String[] args) |
|
Definizione alla linea 15 del file TestGateway.java. Referenziato da clientswing.comunicationsystem.TestGateway.main().
|
|
logout
Implementa clientswing.comunicationsystem.Gateway. Definizione alla linea 87 del file TestGateway.java.
|
|
Definizione alla linea 17 del file TestGateway.java. Riferimenti clientswing.comunicationsystem.TestGateway.TestGateway(). 00017 { 00018 TestGateway testGateway1 = new TestGateway(); 00019 }
Questo è il grafo delle chiamate per questa funzione: ![]() |
|
Implementa clientswing.comunicationsystem.Gateway. Definizione alla linea 76 del file TestGateway.java.
|
|
invia la richiesta xml sotto forma di stringa al server
Implementa clientswing.comunicationsystem.Gateway. Definizione alla linea 20 del file TestGateway.java. 00020 { 00021 00022 System.out.print("\n\nFingo di inoltrare la richiesta:\n\n" + xml); 00023 00024 return "<xresponse xmlns=\"http://xml.netbeans.org/examples/targetNS\">" + 00025 " <rowset>" + 00026 " <row>" + 00027 " <column type=\"chars\">" + 00028 " <name>stringa</name>" + 00029 " <value>Ivan</value>" + 00030 " </column>" + 00031 " <column type=\"float\">" + 00032 " <name>float</name> " + 00033 " <value>3.3</value>" + 00034 " </column>" + 00035 " <column type=\"int\">" + 00036 " <name>intero</name>" + 00037 " <value>999</value>" + 00038 " </column>" + 00039 " <column type=\"int\">" + 00040 " <name>id</name>" + 00041 " <value>1</value>" + 00042 " </column>" + 00043 " </row>"+ 00044 " <row>" + 00045 " <column type=\"chars\">" + 00046 " <name>stringa</name>" + 00047 " <value>Pippo</value>" + 00048 " </column>" + 00049 " <column type=\"float\">" + 00050 " <name>float</name> " + 00051 " <value>5.6</value>" + 00052 " </column>" + 00053 " <column type=\"int\">" + 00054 " <name>intero</name>" + 00055 " <value>34999</value>" + 00056 " </column>" + 00057 " <column type=\"int\">" + 00058 " <name>id</name>" + 00059 " <value>1989</value>" + 00060 " </column>" + 00061 " </row>"+ 00062 00063 00064 "</rowset></xresponse>"; 00065 00066 00067 /* return "<?xml version=\"1.0\" encoding=\"UTF-8\"?><xresponse><rowset> " + 00068 "<row><column><name>col1</name><value>123</value> </column> </row>" + 00069 "<row><column><name>col1</name><value>656545</value> </column> </row>" + 00070 "</rowset></xresponse>";*/ 00071 /* return "<?xml version=\"1.0\" encoding=\"UTF-8\"?><xresponse><message result=\"ok\"> " + 00072 " Messaggio di errore"+ 00073 "</message></xresponse>";*/ 00074 00075 }
|