mixinnetColarEmail::SmtpDataConsumer

netColarEmail::SmtpDataConsumer

Implementation will receive "copy" of the data intercepted by interceptor Can consume it in any way

inData

abstract Void inData(Buf buf)

Called(0-n times) as data is received from client and passed to server(data copy)

onEnd

abstract Void onEnd()

Called once communication is completed

onStart

abstract Void onStart(TcpSocket socket)

Called once socket connected socket : client(in) socket: to get infos, do NOT read/write from it.

outData

abstract Void outData(Buf buf)

Called(0-n times) as data is received from server and passed to client(data copy)