Package org.jrd.backend.communication
Class FsAgent
- java.lang.Object
-
- org.jrd.backend.communication.FsAgent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
submitRequest(String request)
Opens a socket and sends the request to the agent via socket.static String
toClass(String s)
-
-
-
Method Detail
-
submitRequest
public String submitRequest(String request)
Opens a socket and sends the request to the agent via socket.- Specified by:
submitRequest
in interfaceJrdAgent
- Parameters:
request
- either "CLASSES" or "BYTES \n className", other formats are refused- Returns:
- agents response or null
-
-