com.alarexgroup.m2mplf.net.tcpip
Interface TCPIPEventListener

All Known Implementing Classes:
SerialDemo
public interface TCPIPEventListener

TCPIP event listener handles input data from open connection

Method Summary
 void onTCPIPEvent(int errorCode, java.io.InputStream dis, int id)
          Method is called in case of data income or connection error.
 

Method Detail

onTCPIPEvent

void onTCPIPEvent(int errorCode,
                  java.io.InputStream dis,
                  int id)
Method is called in case of data income or connection error.

Parameters:
id - ID connection
errorCode -
dis - InputStream - received data