com.mythicscape.batclient.interfaces
Interface Net


public interface Net


Method Summary
 boolean connect()
           
 void disconnect(boolean reconnect)
           
 boolean isConnected()
           
 void send(java.lang.String msg)
           
 void setPromptEndNewline(boolean value)
          Sets if a newline character should be added after the end of the prompt is received.
 

Method Detail

send

void send(java.lang.String msg)

connect

boolean connect()

disconnect

void disconnect(boolean reconnect)

isConnected

boolean isConnected()

setPromptEndNewline

void setPromptEndNewline(boolean value)
Sets if a newline character should be added after the end of the prompt is received. When using static prompts, this should be set to false, otherwise it should be set to true so that there is a newline between prompts. Default it is set to being true.

Parameters:
value -