solar.api
Interface Adu

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
AttributeRecord, Event, Name, ProtocolEvent
All Known Implementing Classes:
AbstractAttributeRecord, ByteArrayAdu, PlainEvent, PlainName, SerializedAdu, SerializedEvent, StringAdu

public interface Adu
extends java.io.Serializable

The interface for the ADU (Application Data Unit).

Version:
$Id: Adu.java,v 1.1 2003/09/23 14:03:56 glchen Exp $
Author:
Guanling Chen

Method Summary
 byte[] toBytes()
          Return the byte array format of this ADU.
 java.lang.String toString()
          Return the string format of this ADU.
 

Method Detail

toBytes

public byte[] toBytes()
Return the byte array format of this ADU.


toString

public java.lang.String toString()
Return the string format of this ADU.

Overrides:
toString in class java.lang.Object