org.dcm4che2.audit.message
Class NetworkEntryMessage

java.lang.Object
  extended by org.dcm4che2.audit.message.AuditMessage
      extended by org.dcm4che2.audit.message.NetworkEntryMessage

public class NetworkEntryMessage
extends AuditMessage

This message describes the event of a system, such as a mobile device, entering or leaving the network as a normal part of operations. It is not intended to report network problems, loose cables, or other unintentional detach and reattach situations.

Note: The machine should attempt to send this message prior to detaching. If this is not possible, it should retain the message in a local buffer so that it can be sent later. The mobile machine can then capture audit messages in a local buffer while it is outside the secure domain. When it is reconnected to the secure domain, it can send the detach message (if buffered), followed by the buffered messages, followed by a mobile machine message for rejoining the secure domain. The timestamps on these messages is the time that the event occurred, not the time that the message is sent.

Since:
Nov 23, 2006
Version:
$Revision: 750 $ $Date: 2007-02-12 18:37:51 +0100 (Mon, 12 Feb 2007) $
Author:
Gunter Zeilinger
See Also:
DICOM Supp 95: Audit Trail Messages, A.1.3.9 Network Entry

Field Summary
static AuditEvent.TypeCode ATTACH
           
static AuditEvent.TypeCode DETACH
           
protected  java.lang.String name
           
 
Fields inherited from class org.dcm4che2.audit.message.AuditMessage
activeParticipants, auditSources, event, participantObjects
 
Constructor Summary
NetworkEntryMessage(AuditEvent.TypeCode type)
           
 
Method Summary
protected  void addAttribute(java.lang.String name, byte[] val, boolean optional)
           
protected  void addAttribute(java.lang.String name, java.util.Date val, boolean optional)
           
protected  void addAttribute(java.lang.String name, java.lang.Object val, boolean optional)
           
 ActiveParticipant addNode(java.lang.String hostname)
           
protected  java.lang.Object getAttribute(java.lang.String name)
           
protected  void outputChilds(java.io.Writer out, java.util.List<? extends org.dcm4che2.audit.message.BaseElement> childs)
           
 java.lang.String toString(int initialSize)
           
 
Methods inherited from class org.dcm4che2.audit.message.AuditMessage
addActiveParticipant, addAuditSource, addParticipantObject, aetsToAltUserID, aetToAltUserID, altUserIDToAETs, getActiveParticipants, getAuditEvent, getAuditSources, getLocalAETitles, getLocalHost, getLocalHostName, getLocalNodeID, getParticipantObjects, getProcessID, getProcessName, getRequestingActiveParticipants, hostNameOf, isAllowMultipleRequestors, isEmpty, isEnableDNSLookups, isIncludeXMLDeclaration, isQualifyHostname, isTimezonedDateTime, isUtcDateTime, nodeIDOf, output, outputContent, setAllowMultipleRequestors, setEnableDNSLookups, setEventDateTime, setIncludeXMLDeclaration, setLocalAETitles, setOutcomeIndicator, setProcessName, setQualifyHostname, setTimezonedDateTime, setUtcDateTime, toDateTimeStr, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTACH

public static final AuditEvent.TypeCode ATTACH

DETACH

public static final AuditEvent.TypeCode DETACH

name

protected final java.lang.String name
Constructor Detail

NetworkEntryMessage

public NetworkEntryMessage(AuditEvent.TypeCode type)
Method Detail

addNode

public ActiveParticipant addNode(java.lang.String hostname)

addAttribute

protected void addAttribute(java.lang.String name,
                            java.lang.Object val,
                            boolean optional)

addAttribute

protected void addAttribute(java.lang.String name,
                            java.util.Date val,
                            boolean optional)

addAttribute

protected void addAttribute(java.lang.String name,
                            byte[] val,
                            boolean optional)

getAttribute

protected java.lang.Object getAttribute(java.lang.String name)

toString

public java.lang.String toString(int initialSize)

outputChilds

protected void outputChilds(java.io.Writer out,
                            java.util.List<? extends org.dcm4che2.audit.message.BaseElement> childs)
                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2011 dcm4che. All Rights Reserved.