com.jme3.network.connection
クラス SSLTCPConnection

java.lang.Object
  上位を拡張 com.jme3.network.connection.Connection
      上位を拡張 com.jme3.network.connection.TCPConnection
          上位を拡張 com.jme3.network.connection.SSLTCPConnection
すべての実装されたインタフェース:
java.lang.Runnable

public class SSLTCPConnection
extends TCPConnection

The SSLTCPConnection. Handles all SSL traffic for both client and server. Please do not use this class, as it does not work. Replacement is custom encryption over TCP or UDP, without using SSL.


コンストラクタの概要
SSLTCPConnection(java.lang.String name)
           
 
メソッドの概要
 void accept(java.nio.channels.SelectableChannel channel)
          Accept an incoming connection.
 void bind(java.net.SocketAddress address)
          Bind to an address.
 void connect(java.nio.channels.SelectableChannel channel)
          Finish the connection.
 void connect(java.net.SocketAddress address)
          Connect to a server using this overload.
 void read(java.nio.channels.SelectableChannel channel)
          Read from the channel.
 void readAndUnwrap(java.nio.channels.SocketChannel channel)
           
 void send(java.lang.Object object)
           
 void send(java.nio.channels.SocketChannel channel, java.lang.Object object)
           
 void write(java.nio.channels.SelectableChannel channel)
          Write to a channel.
 
クラス com.jme3.network.connection.TCPConnection から継承されたメソッド
cleanup, sendObject, sendObject
 
クラス com.jme3.network.connection.Connection から継承されたメソッド
addConnectionListener, addConnectorFilter, addMessageListener, addMessageListener, addToDisconnectionQueue, getConnectors, getLocalConnectors, isAlive, removeConnectionListener, removeConnectorFilter, removeMessageListener, removeMessageListener, run, shouldFilterConnector
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SSLTCPConnection

public SSLTCPConnection(java.lang.String name)
メソッドの詳細

connect

public void connect(java.net.SocketAddress address)
             throws java.io.IOException
クラス Connection の記述:
Connect to a server using this overload.

オーバーライド:
クラス TCPConnection 内の connect
パラメータ:
address - The address to connect to.
例外:
java.io.IOException - When a problem occurs.

bind

public void bind(java.net.SocketAddress address)
          throws java.io.IOException
クラス Connection の記述:
Bind to an address.

オーバーライド:
クラス TCPConnection 内の bind
パラメータ:
address - The address to bind to.
例外:
java.io.IOException - When a problem occurs.

connect

public void connect(java.nio.channels.SelectableChannel channel)
             throws java.io.IOException
クラス Connection の記述:
Finish the connection.

オーバーライド:
クラス TCPConnection 内の connect
パラメータ:
channel - The channel.
例外:
java.io.IOException - When a problem occurs.

accept

public void accept(java.nio.channels.SelectableChannel channel)
            throws java.io.IOException
クラス Connection の記述:
Accept an incoming connection.

オーバーライド:
クラス TCPConnection 内の accept
パラメータ:
channel - The channel.
例外:
java.io.IOException - When a problem occurs.

read

public void read(java.nio.channels.SelectableChannel channel)
          throws java.io.IOException
クラス Connection の記述:
Read from the channel.

オーバーライド:
クラス TCPConnection 内の read
パラメータ:
channel - The channel.
例外:
java.io.IOException - When a problem occurs.

readAndUnwrap

public void readAndUnwrap(java.nio.channels.SocketChannel channel)
                   throws java.io.IOException
例外:
java.io.IOException

send

public void send(java.lang.Object object)
          throws java.io.IOException
例外:
java.io.IOException

send

public void send(java.nio.channels.SocketChannel channel,
                 java.lang.Object object)
          throws java.io.IOException
例外:
java.io.IOException

write

public void write(java.nio.channels.SelectableChannel channel)
           throws java.io.IOException
クラス Connection の記述:
Write to a channel.

オーバーライド:
クラス TCPConnection 内の write
パラメータ:
channel - The channel to write to.
例外:
java.io.IOException - When a problem occurs.