se.sics.isl.transport
Interface Transportable

All Known Implementing Classes:
AdminContent, Alert, Message, Ping, ServerConfig, SimpleContent, SimulationInfo, SimulationStatus, StartInfo

public interface Transportable


Method Summary
 java.lang.String getTransportName()
          Returns the transport name used for externalization.
 void read(TransportReader reader)
          Reads the state for this transportable from the specified reader.
 void write(TransportWriter writer)
          Writes the state for this transportable to the specified writer.
 

Method Detail

getTransportName

java.lang.String getTransportName()
Returns the transport name used for externalization.


read

void read(TransportReader reader)
          throws java.text.ParseException
Reads the state for this transportable from the specified reader.

Parameters:
reader - the reader to read data from
Throws:
java.text.ParseException - if a parse error occurs

write

void write(TransportWriter writer)
Writes the state for this transportable to the specified writer.

Parameters:
writer - the writer to write data to


Copyright © 2007-2009 Association for Trading Agent Research. All Rights Reserved.