com.sun.grizzly.streams
Interface AddressableStreamReader<A>

All Superinterfaces:
Closeable, StreamReader
All Known Implementing Classes:
UDPNIOStreamReader

public interface AddressableStreamReader<A>
extends StreamReader

Addressable StreamReader, which could be requested for data source address.

Author:
Alexey Stashok
See Also:
UDPNIOStreamReader, AddressableStreamWriter

Method Summary
 A getPeerAddress()
          Get the address of StreamReader data source.
 
Methods inherited from interface com.sun.grizzly.streams.StreamReader
appendBuffer, availableDataSize, finishBuffer, getBuffer, getBufferSize, getConnection, getTimeout, hasAvailableData, isBlocking, isClosed, notifyAvailable, notifyAvailable, notifyCondition, notifyCondition, prependBuffer, readBoolean, readBooleanArray, readBuffer, readByte, readByteArray, readByteArray, readBytes, readChar, readCharArray, readDouble, readDoubleArray, readFloat, readFloatArray, readInt, readIntArray, readLong, readLongArray, readShort, readShortArray, setBlocking, setBufferSize, setTimeout
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

getPeerAddress

A getPeerAddress()
Get the address of StreamReader data source.

Returns:
the address of StreamReader data source.


Copyright © 2009 SUN Microsystems. All Rights Reserved.