org.asyrinx.brownie.net.socket
クラス SocketClient
java.lang.Object
org.asyrinx.brownie.net.socket.SocketClient
- public class SocketClient
- extends java.lang.Object
- 作成者:
- akima
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketClient
public SocketClient()
SocketClient
public SocketClient(java.lang.String host,
int port)
execute
public void execute(java.lang.String message)
throws java.io.IOException
- 例外:
java.io.IOException
connect
public void connect()
throws java.io.IOException
- 例外:
java.io.IOException
disconnect
public void disconnect()
throws java.io.IOException
- 例外:
java.io.IOException
isConnected
public boolean isConnected()
send
public void send(java.lang.String message)
throws java.io.IOException
- 例外:
java.io.IOException
getHost
public java.lang.String getHost()
- 戻り値:
- Returns the host.
setHost
public void setHost(java.lang.String host)
- パラメータ:
host
- The host to set.
getPort
public int getPort()
- 戻り値:
- Returns the port.
setPort
public void setPort(int port)
- パラメータ:
port
- The port to set.
getSocket
public java.net.Socket getSocket()
- 戻り値:
- Returns the socket.
Copyright © 2004 asyrinx organization. All Rights Reserved.