public class ClientLink extends Link
actionList, actionRequest, charArray, closeLink, dis, dos, graphicList, guiList, guiRequest, locked, mapRequest, MAX_HEADER_LENGTH, obeyCommandToExit, socket
ACTION_REQUEST_HEADER, ACTIONS_HEADER, ARC_HEADER, BITMAP_HEADER, CIRCLE_HEADER, CLOSE_LINK_HEADER, ELLIPSE_HEADER, END_SECTION, END_TOTAL, GRAPHIC_HEADER, GRAPHICS_HEADER, GRID_HEADER, GUI_HEADER, GUI_REQUEST_HEADER, HUH_HEADER, LINE_HEADER, LINK_VERSION, MAP_REQUEST_HEADER, PING_REQUEST_HEADER, PING_RESPONSE_HEADER, POINT_HEADER, POLY_HEADER, RASTER_HEADER, RECTANGLE_HEADER, SHUTDOWN_HEADER, TEXT_HEADER, UNKNOWN, UPDATE_GRAPHICS, UPDATE_GUI, UPDATE_MAP
Constructor and Description |
---|
ClientLink(java.net.Socket socket)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the socket of the link.
|
boolean |
isCloseLink()
A method used by the client after a communication exchange.
|
cleanUp, clearBytesWritten, end, getAcceptCommandToExit, getActionList, getActionRequest, getBytesWritten, getDIS, getDOS, getGraphicList, getGUIList, getGUIRequest, getMapRequest, isLocked, readAndParse, readAndParse, readAndParse, readDelimiter, setLocked, setObeyCommandToExit, start
public ClientLink(java.net.Socket socket) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public boolean isCloseLink()
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details