javax.microedition.io
Interface Datagram

All Superinterfaces:
DataInput, DataOutput

public interface Datagram
extends DataInput, DataOutput


Method Summary
 String getAddress()
           
 byte[] getData()
           
 int getLength()
           
 int getOffset()
           
 void reset()
           
 void setAddress(Datagram arg1)
           
 void setAddress(String arg1)
           
 void setData(byte[] arg1, int arg2, int arg3)
           
 void setLength(int arg1)
           
 
Methods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
 
Methods inherited from interface java.io.DataOutput
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 

Method Detail

getAddress

String getAddress()

getData

byte[] getData()

getLength

int getLength()

getOffset

int getOffset()

setAddress

void setAddress(String arg1)
                throws IOException
Throws:
IOException

setAddress

void setAddress(Datagram arg1)

setLength

void setLength(int arg1)

setData

void setData(byte[] arg1,
             int arg2,
             int arg3)

reset

void reset()


Copyright © 2006-2007 Jayway AB. All Rights Reserved.