org.isam.exehda.services
Interface Dispatcher.MessageBuffer

Enclosing interface:
Dispatcher

public static interface Dispatcher.MessageBuffer


Method Summary
 Dispatcher.PortAddress getDestinationAddress()
          Describe getDestinationAddress method here.
 int getFlags(int mask)
          Describe getFlags method here.
 long getLength()
          Describe getLength method here.
 long getOffset()
          Describe getOffset method here.
 Dispatcher.PortAddress getSourceAddress()
          Describe getSourceAddress method here.
 int read()
          Describe read method here.
 int read(byte[] buff, int offs, int len)
          Describe read method here.
 void skip(long nbytes)
          Describe skip method here.
 int write(byte[] b)
          Describe write method here.
 void write(int b)
          Describe write method here.
 

Method Detail

getLength

public long getLength()
Describe getLength method here.

Returns:
a long value

getOffset

public long getOffset()
Describe getOffset method here.

Returns:
a long value

write

public void write(int b)
Describe write method here.

Parameters:
b - an int value

write

public int write(byte[] b)
Describe write method here.

Parameters:
b - a byte[] value
Returns:
an int value

read

public int read()
Describe read method here.

Returns:
an int value

read

public int read(byte[] buff,
                int offs,
                int len)
Describe read method here.

Parameters:
buff - a byte[] value
offs - an int value
len - an int value
Returns:
an int value

skip

public void skip(long nbytes)
Describe skip method here.

Parameters:
nbytes - a long value

getSourceAddress

public Dispatcher.PortAddress getSourceAddress()
Describe getSourceAddress method here.

Returns:
a PortAddress value

getDestinationAddress

public Dispatcher.PortAddress getDestinationAddress()
Describe getDestinationAddress method here.

Returns:
a PortAddress value

getFlags

public int getFlags(int mask)
Describe getFlags method here.

Parameters:
mask - an int value
Returns:
an int value