ilog.server.mvtcp
Class MvConnect

java.lang.Object
  |
  +--ilog.server.mvtcp.MvConnect
All Implemented Interfaces:
MvConnectItf

public class MvConnect
extends java.lang.Object
implements MvConnectItf

This class should not be used because it is specific to the communication layer.


Constructor Summary
MvConnect()
           
MvConnect(java.lang.String peerName, java.lang.String peerHost)
           
 
Method Summary
 void asyncRecv(byte[] data)
           
 boolean asyncSend(byte[] bytes)
           
static TcpConnection Bind(MvSocket socket)
           
 void close()
           
 void disconnect()
           
 java.lang.String[] doBind(java.lang.String peerName, java.lang.String peerHost, boolean localComp, java.lang.String localName, java.lang.String localHost, java.lang.String curSysLocale, java.lang.String curStdLocale, java.lang.String[] translationTab)
           
 void finalize()
           
 MvConnect getMvConnect()
           
 TcpConnection getPeerConnection()
           
 void onBind()
          This method is called when process receive the response to a connection
static TcpConnection OnBind(MvSocket socket)
           
 void onUnbind(boolean isDistant)
           
 boolean requestDisconnect()
           
 byte[] syncRecv(byte[] data)
           
 byte[] syncSend(byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MvConnect

public MvConnect()

MvConnect

public MvConnect(java.lang.String peerName,
                 java.lang.String peerHost)
Method Detail

getPeerConnection

public TcpConnection getPeerConnection()

doBind

public java.lang.String[] doBind(java.lang.String peerName,
                                 java.lang.String peerHost,
                                 boolean localComp,
                                 java.lang.String localName,
                                 java.lang.String localHost,
                                 java.lang.String curSysLocale,
                                 java.lang.String curStdLocale,
                                 java.lang.String[] translationTab)
Specified by:
doBind in interface MvConnectItf

Bind

public static TcpConnection Bind(MvSocket socket)

OnBind

public static TcpConnection OnBind(MvSocket socket)

onBind

public void onBind()
This method is called when process receive the response to a connection

onUnbind

public void onUnbind(boolean isDistant)

syncSend

public byte[] syncSend(byte[] bytes)
Specified by:
syncSend in interface MvConnectItf

asyncSend

public boolean asyncSend(byte[] bytes)
Specified by:
asyncSend in interface MvConnectItf

asyncRecv

public void asyncRecv(byte[] data)

syncRecv

public byte[] syncRecv(byte[] data)

close

public void close()

finalize

public void finalize()
Overrides:
finalize in class java.lang.Object

getMvConnect

public MvConnect getMvConnect()

disconnect

public void disconnect()
Specified by:
disconnect in interface MvConnectItf

requestDisconnect

public boolean requestDisconnect()