|
JavaGantt 2011.1 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecteu.beesoft.gaia.swing.server.Support
public class Support
Helper class for serialization / deserialization of ApplicationRequest and
ApplicationResponse. It is used by ApplicationServer and
SwingClient instances.
| Constructor Summary | |
|---|---|
Support()
|
|
| Method Summary | |
|---|---|
ApplicationRequest |
readRequest(java.io.InputStream input)
Builds an instance of ApplicationRequest from data of given input stream. |
ApplicationResponse |
readResponse(java.io.InputStream input)
Builds an instance of ApplicationResponse from data of given input stream. |
eu.beesoft.gaia.util.FastByteArrayOutputStream |
writeRequest(ApplicationRequest request)
Serializes given request to the newly created output stream. |
eu.beesoft.gaia.util.FastByteArrayOutputStream |
writeResponse(ApplicationResponse response)
Serializes given response to the newly created output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Support()
| Method Detail |
|---|
public ApplicationRequest readRequest(java.io.InputStream input)
ApplicationRequest from data of given input stream.
input - - input stream with data for application request
public ApplicationResponse readResponse(java.io.InputStream input)
ApplicationResponse from data of given input stream.
input - - input stream with data for application response
public eu.beesoft.gaia.util.FastByteArrayOutputStream writeRequest(ApplicationRequest request)
request to the newly created output stream.
request - - application request to serialize
public eu.beesoft.gaia.util.FastByteArrayOutputStream writeResponse(ApplicationResponse response)
response to the newly created output stream.
response - - application response to serialize
|
JavaGantt 2011.1 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||