private void InitBlock() { log = LogFactory.getLog(this.GetType()); }
public MessageQueue() { log = LogFactory.getLog(this.GetType()); }
/// <summary>Constructor TuningProfile</summary> public TuningProfile() { log = LogFactory.getLog(this.GetType()); }
private void InitBlock() { outputBuf = new byte[0]; headerBuffer = new byte[Frame.MAX_HEADER_SIZE]; log = LogFactory.getLog(this.GetType()); }
/// <summary>Default Session Constructor. A relationship between peers - a session - /// consists of a set of profiles they share in common, and an ordinality /// (to prevent new channel collision) so that the initiator starts odd /// channels and the listener starts channels with even numbers.</summary> /// <param name="registry">The Profile Registry summarizing the profiles this /// Session will support</param> /// <param name="firstChannel">used internally in the API, an indication of the /// ordinality of the channels this peer can start, odd, or even.</param> /// <param name="localCred"></param> /// <param name="peerCred"></param> /// <param name="tuning"></param> /// <param name="serverName"></param> protected internal SessionImpl(ProfileRegistry registry, int firstChannel, SessionCredential localCred, SessionCredential peerCred, SessionTuningProperties tuning, string serverName) { log = LogFactory.getLog(this.GetType()); state = core.SessionState.SESSION_STATE_INITIALIZED; localCredential = localCred; peerCredential = peerCred; nextChannelNumber = firstChannel; overflow = false; profileRegistry = registry; channels = new System.Collections.Hashtable(DEFAULT_CHANNELS_SIZE); properties = new System.Collections.Hashtable(DEFAULT_PROPERTIES_SIZE); tuningProperties = tuning; this.serverName = serverName; }
private void InitBlock() { curBuf = zeroLength; log = LogFactory.getLog(this.GetType()); state = STATE_INIT; name = new System.IO.MemoryStream(32); value_Renamed = new System.IO.MemoryStream(32); mimeHeaders = new System.Collections.Hashtable(DEFAULT_HEADER_TABLE_SIZE); }