jcifs.netbios
Class Log

java.lang.Object
  |
  +--jcifs.util.Log
        |
        +--jcifs.netbios.Log

public class Log
extends Log

Provides logging methods specific to the netbios package. Log class members are applied to the Log's mask(set as an arithmetic expression from Log.setMask(int mask)) to "flip on" logging of netbios specific information.

     Log.setMask( Log.EXCEPTIONS +
                 jcifs.netbios.Log.SESSION_SERVICE_PACKET_DATA );
 

See the Log parent class for details about this logging style.

Since:
jcifs-0.1
Version:
0.1, 00/03/13
Author:
Michael B. Allen
See Also:
Log

Field Summary
static int ADDRESS_CACHE
          This mask produces the contents of the netbios address cache.
static int ALL
           
static int NAME_SERVICE_PACKET_DATA
          This mask produces limited netbios name service packet information.
static int NONE
           
static int RESERVED8
          reserved for this package
static int SESSION_SERVICE_PACKET_DATA
           
 
Fields inherited from class jcifs.util.Log
ALL, DEBUGGING, EXCEPTIONS, HEX_DUMPS, mask, NL, NL_LENGTH, NONE, out, WARNINGS
 
Methods inherited from class jcifs.util.Log
addMask, getHexString, getHexString, getHexString, isSet, printHexDump, printHexDump, println, println, println, println, printStackTrace, setDateFormat, setMask, setPrintWriter, setPrintWriter, toHexChars, toHexChars
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NONE

public static final int NONE

ALL

public static final int ALL

NAME_SERVICE_PACKET_DATA

public static final int NAME_SERVICE_PACKET_DATA
This mask produces limited netbios name service packet information. See RFC 1002 for a detailed description of packet contents and their meaning.

  Mar 13 09:17:04 - name service packet
   angus.mimosa.com/192.168.1.152:137 [62]
   28887  Positive Name Query Response
   authoritative answer,unicast,recursion desired,recursion available
 
See Also:
Log.setMask(int mask)

SESSION_SERVICE_PACKET_DATA

public static final int SESSION_SERVICE_PACKET_DATA

ADDRESS_CACHE

public static final int ADDRESS_CACHE
This mask produces the contents of the netbios address cache.
See Also:
Log.setMask(int mask)

RESERVED8

public static final int RESERVED8
reserved for this package