Framework Professional Edition Package


com.prosyst.mbs.framework.tracer
Interface TraceRemoteLogger


public interface TraceRemoteLogger


Method Summary
 void acceptClient()
          Accepts a client.
 void destroy()
          Releases all resources that were allocated.
 void receiveCommand(byte[] buf)
          Listens for a command from the tracer client.
 void sendLog(byte[] log)
          Sends log message asynchronously.
 void sendLogSynch(byte[] log)
          Sends log message synchronously.
 void sendLogSynch(byte[] log, int offset, int length)
          Sends log message synchronously.
 

Method Detail

acceptClient

void acceptClient()
Accepts a client.


sendLog

void sendLog(byte[] log)
             throws java.io.IOException
Sends log message asynchronously.

Throws:
java.io.IOException

sendLogSynch

void sendLogSynch(byte[] log)
                  throws java.io.IOException
Sends log message synchronously.

Throws:
java.io.IOException

sendLogSynch

void sendLogSynch(byte[] log,
                  int offset,
                  int length)
                  throws java.io.IOException
Sends log message synchronously.

Throws:
java.io.IOException

destroy

void destroy()
Releases all resources that were allocated. It should : 1)disconnect current client if there is one 2)do not accept new clients afterwards


receiveCommand

void receiveCommand(byte[] buf)
                    throws java.io.IOException
Listens for a command from the tracer client.

Throws:
java.io.IOException

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved