org.limitless.util
Interface ConcurrentTCPService.ClientConnection

All Known Implementing Classes:
ConcurrentTCPService.Connection
Enclosing class:
ConcurrentTCPService

public static interface ConcurrentTCPService.ClientConnection

This interface allows access to the writer and management routines, such as fetching an address. This is needed so we don't expose the entire class.


Method Summary
 void disconnect()
          This is used to trigger a disconnect (and is only needed to trigger a disconnect when the ReaderSlave doesn't just exit on its own).
 NetAddress getWho()
          This gets who the client IS.
 void write(byte[] bytes, int count)
          This sends data to the client.
 

Method Detail

write

void write(byte[] bytes,
           int count)
This sends data to the client.


getWho

NetAddress getWho()
This gets who the client IS.


disconnect

void disconnect()
This is used to trigger a disconnect (and is only needed to trigger a disconnect when the ReaderSlave doesn't just exit on its own).



Copyright © 1995, 2004 Limitless Knowledge Association, All Rights Reserved.